public interface IncompleteSchema
Schema
and
SeriesDefinition
. Both can have a number of Attribute
s defined.Modifier and Type | Method and Description |
---|---|
AttributeDefinition<?> |
getAttributeDefinition(int number,
boolean mustExist)
Return the attribute definition with the given attribute number.
|
AttributeDefinition<?> |
getAttributeDefinition(String name,
boolean mustExist)
Return the attribute definition with the given attribute name.
|
Collection<AttributeDefinition<?>> |
getAttributeDefinitions()
Return the collection of all attribute definitions.
|
String |
getName()
Return the name of the schema or series definition.
|
String getName()
Collection<AttributeDefinition<?>> getAttributeDefinitions()
AttributeDefinition<?> getAttributeDefinition(String name, boolean mustExist) throws T2DBException
mustExist
parameter determines behavior when nothing is
found: exception or null result.name
- the name of the attributemustExist
- if true throw an exception instead of returning nullT2DBException
AttributeDefinition<?> getAttributeDefinition(int number, boolean mustExist) throws T2DBException
mustExist
parameter determines behavior when nothing is
found: exception or null result.number
- the number of the attributemustExist
- if true throw an exception instead of returning nullT2DBException
Copyright © 2017. All rights reserved.