net.jangaroo.exml.model
Class ConfigClass

java.lang.Object
  extended by net.jangaroo.exml.model.DescriptionHolder
      extended by net.jangaroo.exml.model.ConfigClass

public final class ConfigClass
extends DescriptionHolder


Constructor Summary
ConfigClass()
           
 
Method Summary
 void addCfg(ConfigAttribute cfg)
           
 void addConstant(Constant constant)
           
 boolean contains(ConfigAttribute cfg)
           
static String createConfigClassName(String name)
          Create a ConfigClass name from the given name.
 boolean equals(Object o)
           
 ConfigAttribute getCfgByName(String name)
           
 List<ConfigAttribute> getCfgs()
           
 String getComponentClassName()
           
 List<Constant> getConstants()
           
 List<ConfigAttribute> getDirectCfgs()
          Returns only the ConfigAttributes that are not already defined in the super class
 String getFullName()
          The full qualified name
 List<String> getImports()
           
 String getName()
          the name
 String getNs()
           
 String getPackageName()
           
 ConfigClass getSuperClass()
           
 String getSuperClassName()
           
 ConfigClassType getType()
           
 String getTypeValue()
           
 int hashCode()
           
 void setComponentClassName(String componentClassName)
           
 void setName(String name)
           
 void setPackageName(String packageName)
           
 void setSuperClass(ConfigClass superClass)
           
 void setSuperClassName(String superClassName)
           
 void setType(ConfigClassType type)
           
 void setTypeValue(String typeValue)
           
 
Methods inherited from class net.jangaroo.exml.model.DescriptionHolder
getDescription, getEscapedDescription, setDescription
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigClass

public ConfigClass()
Method Detail

addCfg

public void addCfg(ConfigAttribute cfg)

contains

public boolean contains(ConfigAttribute cfg)

getSuperClass

public ConfigClass getSuperClass()

setSuperClass

public void setSuperClass(ConfigClass superClass)

getCfgs

public List<ConfigAttribute> getCfgs()

getConstants

public List<Constant> getConstants()

getDirectCfgs

public List<ConfigAttribute> getDirectCfgs()
Returns only the ConfigAttributes that are not already defined in the super class

Returns:
the list of ConfigAttributes

getCfgByName

public ConfigAttribute getCfgByName(String name)

addConstant

public void addConstant(Constant constant)

createConfigClassName

public static String createConfigClassName(String name)
Create a ConfigClass name from the given name. By convention all ConfigClass names are uncapitalized.

Parameters:
name - the name
Returns:
return the new config-class name, matching the conventions.

setName

public void setName(String name)

getName

public String getName()
the name

Returns:
the name

getType

public ConfigClassType getType()

setType

public void setType(ConfigClassType type)

getTypeValue

public String getTypeValue()

setTypeValue

public void setTypeValue(String typeValue)

setPackageName

public void setPackageName(String packageName)

getPackageName

public String getPackageName()

getNs

public String getNs()

getFullName

public String getFullName()
The full qualified name

Returns:
the fqn

setComponentClassName

public void setComponentClassName(String componentClassName)

getComponentClassName

public String getComponentClassName()

setSuperClassName

public void setSuperClassName(String superClassName)

getSuperClassName

public String getSuperClassName()

getImports

public List<String> getImports()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2002-2011 CoreMedia AG. All Rights Reserved.