com.ail.core
Class Allowable

java.lang.Object
  extended by com.ail.core.Type
      extended by com.ail.core.Allowable
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Allowable
extends Type

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

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
Allowable()
           
 
Method Summary
 void addAllowable(Allowable allowable)
          Add an instance of com.ail.core.Allowable to the list associated with this object.
 java.util.Collection<Allowable> getAllowable()
          Get the collection of instances of com.ail.core.Allowable associated with this object.
 Allowable getAllowable(int i)
          Fetch a spacific com.ail.core.Allowable from the collection by index number.
 int getAllowableCount()
          Get a count of the number of com.ail.core.Allowable instances associated with this object
 java.lang.String getClassName()
          Get the className associated with this allowable.
 java.lang.String getName()
          Get the name associated with this allowable.
 java.lang.String getTypeId()
          Get the typeId associated with this allowable.
 void removeAllowable(Allowable wording)
          Remove the specified instance of com.ail.core.Allowable from the list.
 void removeAllowable(int i)
          Remove the element specified from the list.
 void setAllowable(java.util.Collection<Allowable> allowable)
          Set the collection of instances of com.ail.core.Allowable associated with this object.
 void setClassName(java.lang.String className)
          Set the className associated with this allowable
 void setName(java.lang.String name)
          Set the name associated with this allowable
 void setTypeId(java.lang.String typeId)
          Set the typeId associated with this allowable
 
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

Allowable

public Allowable()
Method Detail

getClassName

public java.lang.String getClassName()
Get the className associated with this allowable.

Returns:
The field className.

setClassName

public void setClassName(java.lang.String className)
Set the className associated with this allowable

Parameters:
className - New field className

getTypeId

public java.lang.String getTypeId()
Get the typeId associated with this allowable.

Returns:
The field typeId.

setTypeId

public void setTypeId(java.lang.String typeId)
Set the typeId associated with this allowable

Parameters:
typeId - New field typeId

getName

public java.lang.String getName()
Get the name associated with this allowable.

Returns:
The field name.

setName

public void setName(java.lang.String name)
Set the name associated with this allowable

Parameters:
name - New field name

getAllowable

public java.util.Collection<Allowable> getAllowable()
Get the collection of instances of com.ail.core.Allowable associated with this object.

Returns:
A collection of instances of Allowable
See Also:
setAllowable(java.util.Collection)

setAllowable

public void setAllowable(java.util.Collection<Allowable> allowable)
Set the collection of instances of com.ail.core.Allowable associated with this object.

Parameters:
allowable - A collection of instances of Allowable
See Also:
getAllowable()

getAllowableCount

public int getAllowableCount()
Get a count of the number of com.ail.core.Allowable instances associated with this object

Returns:
Number of instances

getAllowable

public Allowable getAllowable(int i)
Fetch a spacific com.ail.core.Allowable from the collection by index number.

Parameters:
i - Index of element to return
Returns:
The instance of com.ail.core.Allowable at the specified index

removeAllowable

public void removeAllowable(int i)
Remove the element specified from the list.

Parameters:
i - Index of element to remove

removeAllowable

public void removeAllowable(Allowable wording)
Remove the specified instance of com.ail.core.Allowable from the list.

Parameters:
wording - Instance to be removed

addAllowable

public void addAllowable(Allowable allowable)
Add an instance of com.ail.core.Allowable to the list associated with this object.

Parameters:
wording - Instance to add to list