com.ail.core.configure
Class Types

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

public class Types
extends Group

This class is simply a binder containing a number of objects of type 'Type'.

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

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
Types()
           
 
Method Summary
 void addType(Type vType)
           
 Type getType(int index)
           
 int getTypeCount()
           
 void removeAllType()
           
 Type removeType(int index)
           
 void setType(java.lang.String plop)
          This method is here purely to keep castor XML binding happy.
 void setTypeAt(int index, Type vType)
           
 
Methods inherited from class com.ail.core.configure.Group
addGroup, addParameter, findGroup, findParameter, findParameterValue, findParameterValue, getGroup, getGroup, getGroupCount, getParameter, getParameter, getParameterCount, removeAllGroup, removeAllParameter, removeGroup, removeParameter, setGroup, setGroup, setParameter, setParameterAt
 
Methods inherited from class com.ail.core.configure.Component
getName, getNameLowerCase, setName
 
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

Types

public Types()
Method Detail

setType

public void setType(java.lang.String plop)
This method is here purely to keep castor XML binding happy. If castor sees something like: it will create an instance of com.ail.core.configuration.Types, and then try to call setType("java:com.ail.core.configuration.Types"); This appears to be because the Types class has a 'type' property. This method does absolutly nothing.


addType

public void addType(Type vType)
             throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException

getType

public Type getType(int index)
             throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException

getTypeCount

public int getTypeCount()

removeAllType

public void removeAllType()

removeType

public Type removeType(int index)

setTypeAt

public void setTypeAt(int index,
                      Type vType)
               throws java.lang.IndexOutOfBoundsException
Throws:
java.lang.IndexOutOfBoundsException