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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Get the name of the profile attribute.String
getSerialisationVersion()
Get the attribute serialisation version.String
getType()
Get the Java type of the profile attribute.boolean
isSerialised()
Determine if profile data for this attribute is serialised.String
toString()
-
-
-
Constructor Detail
-
Attribute
public 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
- ifname
ortype
is null.
-
Attribute
public 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
- ifname
ortype
is null.
-
-
Method Detail
-
getName
public String getName()
Get the name of the profile attribute.
- Returns:
- the name of the profile attribute.
-
getType
public String getType()
Get the Java type of the profile attribute.
- Returns:
- the type of the profile attribute.
-
isSerialised
public boolean isSerialised()
Determine if profile data for this attribute is serialised.
- Returns:
true
if the data is serialised,false
otherwise.
-
getSerialisationVersion
public String getSerialisationVersion()
Get the attribute serialisation version.
- Returns:
- the attribute serialisation version.
-
-