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
Modifier and TypeClassDescriptionstatic final class
Builder
that allowsDataProperty
instances to be created. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
boolean
protected void
finalize()
getName()
Returns the name of the data property.Returns the type of the value of this data property.int
hashCode()
Returns the hash code.static DataProperty.Builder
Creates a newDataProperty
builder.toString()
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
newBuilder
Creates a newDataProperty
builder.- Returns:
- a new
DataProperty
builder.
-
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
-