public class TypeDefinitionListImpl extends AbstractExtensionData implements TypeDefinitionList
Constructor and Description |
---|
TypeDefinitionListImpl()
Default constructor.
|
TypeDefinitionListImpl(List<TypeDefinition> list)
Constructor from a list.
|
Modifier and Type | Method and Description |
---|---|
List<TypeDefinition> |
getList()
Returns the list of type definitions.
|
BigInteger |
getNumItems()
Returns the total number of type definitions.
|
Boolean |
hasMoreItems()
Returns whether there more type definitions or not.
|
void |
setHasMoreItems(Boolean hasMoreItems) |
void |
setList(List<TypeDefinition> list) |
void |
setNumItems(BigInteger numItems) |
String |
toString() |
getExtensions, setExtensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExtensions, setExtensions
public TypeDefinitionListImpl()
public TypeDefinitionListImpl(List<TypeDefinition> list)
list
- the initial listpublic List<TypeDefinition> getList()
TypeDefinitionList
getList
in interface TypeDefinitionList
public void setList(List<TypeDefinition> list)
public Boolean hasMoreItems()
TypeDefinitionList
hasMoreItems
in interface TypeDefinitionList
true
if there are more type definitions, false
if
there are no more type definitions, null
if it's unknownpublic void setHasMoreItems(Boolean hasMoreItems)
public BigInteger getNumItems()
TypeDefinitionList
getNumItems
in interface TypeDefinitionList
null
if the total
number is unknownpublic void setNumItems(BigInteger numItems)
public String toString()
toString
in class AbstractExtensionData
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.