T
- Type the AttributeType is representing.public final class NamedAttributeType<T>
extends java.lang.Object
AttributeType
for defining name-type combinations. Attribute type names must be
non-empty.AttributeType
Constructor and Description |
---|
NamedAttributeType(java.lang.String name,
AttributeType<T> type)
Creates a new named attribute type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
Gets the attribute type name.
|
AttributeType<T> |
getType()
Gets the attribute type.
|
int |
hashCode() |
java.lang.String |
toString() |
public NamedAttributeType(java.lang.String name, AttributeType<T> type)
name
- Attribute type name.type
- Attribute type.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String getName()
public AttributeType<T> getType()
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object