T
- the underlying data type of the attributepublic interface AttributeDefinition<T> extends SchemaComponent, Comparable<AttributeDefinition<T>>
Modifier and Type | Method and Description |
---|---|
Attribute<T> |
getAttribute()
Return the attribute.
|
Property<T> |
getProperty()
Return the attribute's property.
|
T |
getValue()
Return the attribute's default value.
|
<S> AttributeDefinition<S> |
typeCheck(Class<S> type)
Cast the attribute definition to the type specified.
|
consolidate, copy, edit, edit, getName, getNumber, isComplete, isErasing
compareTo
Property<T> getProperty()
T getValue()
Attribute<T> getAttribute()
isComplete()
returns false throws an IllegalStateException
T2DBException
<S> AttributeDefinition<S> typeCheck(Class<S> type) throws T2DBException
type
- the underlying type requiredT2DBException
Copyright © 2017. All rights reserved.