public static final class ProfileDataCollection.Attribute extends Object implements Serializable
| Constructor and Description |
|---|
ProfileDataCollection.Attribute(String name,
String type,
boolean serialised)
Create a new profile table attribute.
|
ProfileDataCollection.Attribute(String name,
String type,
boolean serialised,
String serialisationVersion)
Create a new profile table attribute.
|
| Modifier and Type | Method and 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.
|
public ProfileDataCollection.Attribute(String name, String type, boolean serialised)
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.NullPointerException - if name or type is null.public ProfileDataCollection.Attribute(String name, String type, boolean serialised, String serialisationVersion)
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 qualifierNullPointerException - if name or type is null.public String getName()
public String getType()
public boolean isSerialised()
true if the data is serialised, false otherwise.public String getSerialisationVersion()