public abstract class ConstantsList extends Object
| Constructor and Description |
|---|
ConstantsList() |
| Modifier and Type | Method and Description |
|---|---|
abstract Constant |
constantAt(int index)
Return a read only
Constant from this ConstansList at the
specified index |
abstract Schema.Datatype |
datatype()
Return the Datatype used to represent the value of this ConstantsList
|
abstract String |
description()
Returns a String containing a human readable description of this
ConstantsList
|
abstract Constant |
getConstant(Name name)
Return a read only
Constant from this ConstantsList identified
by the specified name |
abstract Constant |
getConstant(String name)
Return a read only
Constant from this ConstantsList identified
by the specified name |
abstract boolean |
hasConstant(Name name)
Return true if this ConstantsList contains a
Constant object
with the specified name |
abstract boolean |
hasConstant(String name)
Return true if this ConstantsList contains a
Constant object
with the specified name |
abstract Name |
name()
Returns the symbolic name of this ConstantsList
|
abstract int |
numConstants()
Return the number of
Constant objects contained in this
ConstantsList |
abstract void |
setUserData(Object userData)
Set the user data associated with this ConstantsList to the specified
userData
|
abstract Schema.Status |
status()
Returns the status of this ConstantList
|
abstract Object |
userData()
Returns the user data associated with this ConstantsList.
|
public abstract void setUserData(Object userData)
userData - user provided data that is to be associated with this
ConstantsListpublic abstract Name name()
public abstract String description()
public abstract Schema.Status status()
Schema.Statuspublic abstract Schema.Datatype datatype()
Schema.Datatypepublic abstract Object userData()
setUserData(Object) has never been called for this
ConstantsList then return nullpublic abstract boolean hasConstant(Name name)
Constant object
with the specified namepublic abstract boolean hasConstant(String name)
Constant object
with the specified namepublic abstract Constant getConstant(Name name)
Constant from this ConstantsList identified
by the specified nameNotFoundException - if this ConstansList does not contain a
Constant with the specified name.public abstract Constant getConstant(String name)
Constant from this ConstantsList identified
by the specified nameNotFoundException - if this ConstansList does not contain a
Constant with the specified name.public abstract int numConstants()
Constant objects contained in this
ConstantsListpublic abstract Constant constantAt(int index)
Constant from this ConstansList at the
specified indexIndexOutOfBoundsException - if index is not in the range of
0 to numConstants() - 1Copyright © 2017 Bloomberg L.P.. All rights reserved.