Package com.opencloud.slee.profile
Class ProfileDataCollection.Attribute
- java.lang.Object
- 
- com.opencloud.slee.profile.ProfileDataCollection.Attribute
 
- 
- All Implemented Interfaces:
- Serializable
 - Enclosing class:
- ProfileDataCollection
 
 public static final class ProfileDataCollection.Attribute extends Object implements Serializable Class representing a profile table attribute description. - See Also:
- Serialized Form
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Get the name of the profile attribute.StringgetSerialisationVersion()Get the attribute serialisation version.StringgetType()Get the Java type of the profile attribute.booleanisSerialised()Determine if profile data for this attribute is serialised.StringtoString()
 
- 
- 
- 
Constructor Detail- 
Attributepublic Attribute(String name, String type, boolean serialised) Create a new profile table attribute. No serialisation version is set by this constructor. - Parameters:
- name- the name of the attribute.
- type- the type of the attribute. This should be specified in declarative form, eg. java.lang.String[]
- serialised- flag indicating whether the values for this attribute in each profile will (or have been) exported using a generic serialisation codec.
- Throws:
- NullPointerException- if- nameor- typeis null.
 
 - 
Attributepublic Attribute(String name, String type, boolean serialised, String serialisationVersion) Create a new profile table attribute. - Parameters:
- name- the name of the attribute.
- type- the type of the attribute. This should be specified in declarative form, eg. java.lang.String[]
- serialised- flag indicating whether the values for this attribute in each profile will (or have been) exported using a generic serialisation codec.
- serialisationVersion- serialisation version qualifier
- Throws:
- NullPointerException- if- nameor- typeis null.
 
 
- 
 - 
Method Detail- 
getNamepublic String getName() Get the name of the profile attribute. - Returns:
- the name of the profile attribute.
 
 - 
getTypepublic String getType() Get the Java type of the profile attribute. - Returns:
- the type of the profile attribute.
 
 - 
isSerialisedpublic boolean isSerialised() Determine if profile data for this attribute is serialised. - Returns:
- trueif the data is serialised,- falseotherwise.
 
 - 
getSerialisationVersionpublic String getSerialisationVersion() Get the attribute serialisation version. - Returns:
- the attribute serialisation version.
 
 
- 
 
-