Class SDSetAnt
- java.lang.Object
-
- org.apache.directory.fortress.core.model.FortEntity
-
- org.apache.directory.fortress.core.model.SDSet
-
- org.apache.directory.fortress.core.ant.SDSetAnt
-
- All Implemented Interfaces:
Serializable
,Comparable<SDSet>
public class SDSetAnt extends SDSet
Entity is used by custom Apache Ant task for special handling of collections. This is necessary because the Ant parser cannot deal with complex data attribute types. The class extends a base entity.- Author:
- Apache Directory Project
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.directory.fortress.core.model.SDSet
SDSet.SDType
-
-
Field Summary
-
Fields inherited from class org.apache.directory.fortress.core.model.FortEntity
adminSession, contextId, modCode, modId, sequenceId
-
-
Constructor Summary
Constructors Constructor Description SDSetAnt()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSetMembers()
Return the members as a String.String
getSetType()
Return the type of SD set in string format.void
setSetMembers(String members)
Accept a comma delimited list of members, iterate of each and call the setter on the parent class.void
setSetType(String type)
Method accepts a String variable that maps to its parent's set type.-
Methods inherited from class org.apache.directory.fortress.core.model.SDSet
addMember, compareTo, delMember, equals, getCardinality, getDescription, getId, getMembers, getName, getType, hashCode, setCardinality, setDescription, setId, setId, setMember, setMembers, setName, setType, toString
-
Methods inherited from class org.apache.directory.fortress.core.model.FortEntity
getAdminSession, getContextId, getModCode, getModId, getSequenceId, setAdminSession, setContextId, setModCode, setSequenceId
-
-
-
-
Method Detail
-
getSetMembers
public String getSetMembers()
Return the members as a String.- Returns:
- String contain comma delimited list of members.
-
setSetMembers
public void setSetMembers(String members)
Accept a comma delimited list of members, iterate of each and call the setter on the parent class.- Parameters:
members
- contains comma delimited set of members.
-
getSetType
public String getSetType()
Return the type of SD set in string format.- Returns:
- String that represents static or dynamic relations.
-
setSetType
public void setSetType(String type)
Method accepts a String variable that maps to its parent's set type.- Parameters:
type
- String value represents static or dynamic set relations.
-
-