Package xal.tools.data
Class DataAttribute
java.lang.Object
xal.tools.data.DataAttribute
DataAttribute class
- Author:
- tap
-
Constructor Summary
ConstructorsConstructorDescriptionDataAttribute
(String aName, Class<?> aType, boolean primaryState) Creates new DataAttributeDataAttribute
(String aName, Class<?> aType, boolean primaryState, String defaultValue) Creates new DataAttributeDataAttribute
(DataAdaptor adaptor) -
Method Summary
-
Constructor Details
-
DataAttribute
Creates new DataAttribute -
DataAttribute
Creates new DataAttribute -
DataAttribute
-
-
Method Details
-
readerWriter
-
name
-
type
-
isPrimaryKey
public boolean isPrimaryKey() -
getDefaultStringValue
Get the serialized default value to assign for this attribute if a value is not specified.- Returns:
- the default value for this attribute
-
getDefaultValue
Get the deserialized default value to assign for this attribute if a value is not specified.- Returns:
- the default value for this attribute
-