org.objectweb.jac.ide
Class AspectConfiguration

java.lang.Object
  |
  +--org.objectweb.jac.ide.ModelElement
        |
        +--org.objectweb.jac.ide.AspectConfiguration

public class AspectConfiguration
extends ModelElement


Constructor Summary
AspectConfiguration()
           
AspectConfiguration(String aspectName)
           
 
Method Summary
 void addConfigItem(ConfigItem config)
          add a new ConfigItem on this Element
 boolean canReload()
           
 Application getApplication()
          Get the value of application.
 Aspect getAspect()
          Get the value of aspect.
 String getConfigurationCode()
          Get the value of configurationCode.
 Collection getConfigurationMethods()
          Returns all the configuration methods of the aspect
static Set getDeclaredAspects(Object substance)
           
 String getDefaultConfigurationCode()
          Get the value of defaultConfigurationCode.
 String getName()
          Get the value of name.
 boolean isWoven()
          Get the value of woven.
 void reload()
          Reloads the configuration in the running process.
 void removeConfigItem(ConfigItem config)
          remove an ConfigItem
 void setApplication(Application v)
          Set the value of application.
 void setAspect(Aspect v)
          Set the value of aspect.
 void setConfigurationCode(String v)
          Set the value of configurationCode.
 void setDefaultConfigurationCode(String v)
          Set the value of defaultConfigurationCode.
 void setName(String v)
          Set the value of name.
 void setWoven(boolean v)
          Set the value of woven.
 String toString()
           
 
Methods inherited from class org.objectweb.jac.ide.ModelElement
addEndingLink, addLink, getConfigItems, getDescription, getEndingLinks, getFullName, getGenerationFullName, getGenerationName, getLinks, getType, remove, removeEndingLink, removeLink, setDescription, setEndingLinks, setLinks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AspectConfiguration

public AspectConfiguration()

AspectConfiguration

public AspectConfiguration(String aspectName)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getApplication

public Application getApplication()
Get the value of application.

Returns:
value of application.

setApplication

public void setApplication(Application v)
Set the value of application.

Parameters:
v - Value to assign to application.

getName

public String getName()
Get the value of name.

Overrides:
getName in class ModelElement
Returns:
value of name.

setName

public void setName(String v)
Set the value of name.

Overrides:
setName in class ModelElement
Parameters:
v - Value to assign to name.

getDeclaredAspects

public static Set getDeclaredAspects(Object substance)

getAspect

public Aspect getAspect()
Get the value of aspect.

Returns:
value of aspect.

setAspect

public void setAspect(Aspect v)
Set the value of aspect.

Parameters:
v - Value to assign to aspect.

isWoven

public boolean isWoven()
Get the value of woven.

Returns:
value of woven.

setWoven

public void setWoven(boolean v)
Set the value of woven.

Parameters:
v - Value to assign to woven.

canReload

public boolean canReload()

reload

public void reload()
            throws Throwable
Reloads the configuration in the running process.

Throwable

getConfigurationCode

public String getConfigurationCode()
Get the value of configurationCode.

Returns:
value of configurationCode.

setConfigurationCode

public void setConfigurationCode(String v)
Set the value of configurationCode.

Parameters:
v - Value to assign to configurationCode.

getDefaultConfigurationCode

public String getDefaultConfigurationCode()
Get the value of defaultConfigurationCode.

Returns:
value of defaultConfigurationCode.

setDefaultConfigurationCode

public void setDefaultConfigurationCode(String v)
Set the value of defaultConfigurationCode.

Parameters:
v - Value to assign to defaultConfigurationCode.

addConfigItem

public void addConfigItem(ConfigItem config)
add a new ConfigItem on this Element

Overrides:
addConfigItem in class ModelElement
Parameters:
config - the new ConfigItem

removeConfigItem

public void removeConfigItem(ConfigItem config)
remove an ConfigItem

Parameters:
config - the ConfigItem

getConfigurationMethods

public Collection getConfigurationMethods()
Returns all the configuration methods of the aspect

Returns:
a collection of java.lang.reflect.Method