public static final class ProfileDataCollection.Attribute extends Object implements Serializable
Class representing a profile table attribute description.
Constructor and Description |
---|
Attribute(String name,
String type,
boolean serialised)
Create a new profile table attribute.
|
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 Attribute(String name, String type, boolean serialised)
Create a new profile table attribute. No serialisation version is set by this constructor.
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 Attribute(String name, String type, boolean serialised, String serialisationVersion)
Create a new profile table attribute.
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()
Get the name of the profile attribute.
public String getType()
Get the Java type of the profile attribute.
public boolean isSerialised()
Determine if profile data for this attribute is serialised.
true
if the data is serialised, false
otherwise.public String getSerialisationVersion()
Get the attribute serialisation version.