Package com.luciad.datamodels
Class DataProperty
java.lang.Object
com.luciad.datamodels.DataProperty
- All Implemented Interfaces:
AutoCloseable
Represents a property of a
DataType.
A property has a name and a value type. The value type indicates whether the value is a simple primitive or another data object.
New properties can be defined using a DataProperty.Builder (see newBuilder()).
Instances of this class are thread safe. Once an instance has been created, there is no public API to modify it.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilderthat allowsDataPropertyinstances to be created. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanprotected voidfinalize()getName()Returns the name of the data property.Returns the type of the value of this data property.inthashCode()Returns the hash code.static DataProperty.BuilderCreates a newDataPropertybuilder.toString()
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
newBuilder
Creates a newDataPropertybuilder.- Returns:
- a new
DataPropertybuilder.
-
getName
Returns the name of the data property.- Returns:
- the name of the data property.
-
getValueType
Returns the type of the value of this data property.- Returns:
- the type of the value of this data property.
-
toString
-
hashCode
public int hashCode()Returns the hash code. -
equals
-