com.ail.core.configure
Class Component

java.lang.Object
  extended by com.ail.core.Type
      extended by com.ail.core.configure.Component
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
Group, Parameter

public class Component
extends Type

This is the base of the composite patten implementation which defines configuration data.

Version:
$Revision: 1.2 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
Component()
           
 
Method Summary
 java.lang.String getName()
          Getter for the component's name.
 java.lang.String getNameLowerCase()
          Getter for the component's name that always returns the name in lower case.
 void setName(java.lang.String name)
          Setter for the component's name.
 
Methods inherited from class com.ail.core.Type
addAttribute, clone, deleteLock, deleteSerialVersion, fetchJXPathContext, getAttribute, getAttribute, getAttributeCount, getForeignSystemId, getLock, getSerialVersion, getSystemId, hasLock, hasSerialVersion, hasSystemId, isPersisted, markAsNotPersisted, mergeWithDataFrom, removeAttribute, removeAttribute, setAttribute, setForeignSystemId, setLock, setSerialVersion, setSystemId, xpathGet, xpathGet, xpathIterate, xpathSet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Component

public Component()
Method Detail

getName

public java.lang.String getName()
Getter for the component's name. The name generally equates to the key by which the component is found. For example a component referred to as "insurance.types.policy" would relate to a component by the name 'policy' which is held in a component called 'types', which it itself held within a component named 'policy'.

Returns:
The component's name.

getNameLowerCase

public java.lang.String getNameLowerCase()
Getter for the component's name that always returns the name in lower case. This method simply returns a lowercase version of the string that getName() returns.

Returns:
The component's name.

setName

public void setName(java.lang.String name)
Setter for the component's name.

Parameters:
name - The name to set the component to.
See Also:
for a description of name.