public class ContainerDefinition extends Definition
lineNumber, objectType, WILDCARD, WILDCARD_ELEMENT
Constructor and Description |
---|
ContainerDefinition(Dictionary sourceDictionary,
int lineNumber,
DictIdentifier identifier) |
Modifier and Type | Method and Description |
---|---|
void |
addOptional(DictIdentifier identifier) |
void |
addOptional(List<DictIdentifier> optionalList) |
void |
addRequired(DictIdentifier identifier) |
void |
addRequired(List<DictIdentifier> requiredList) |
boolean |
allowsAnyElement() |
List<DictIdentifier> |
getOptional() |
List<DictIdentifier> |
getOptionalElements() |
List<DictIdentifier> |
getRequired() |
List<DictIdentifier> |
getRequiredElements() |
boolean |
hasOptionalElements() |
boolean |
hasRequiredElements() |
boolean |
isAllowed(DictIdentifier identifier) |
boolean |
isOptional(DictIdentifier identifier) |
boolean |
isRequired(DictIdentifier identifier) |
addAlias, addAliases, addAliasSimple, getAliases, getDescription, getIdentifier, getLineNumber, getObjectType, getSourceDictionary, getSourceString, getStatusType, hasAliases, hasDescription, hasStatusType, setAliases, setDescription, setIdentifier, setObjectType, setStatusType, toString
public ContainerDefinition(Dictionary sourceDictionary, int lineNumber, DictIdentifier identifier)
public boolean isRequired(DictIdentifier identifier)
public boolean isOptional(DictIdentifier identifier)
public boolean isAllowed(DictIdentifier identifier)
public List<DictIdentifier> getRequired()
public List<DictIdentifier> getOptional()
public void addOptional(DictIdentifier identifier)
public void addOptional(List<DictIdentifier> optionalList)
public void addRequired(DictIdentifier identifier)
public void addRequired(List<DictIdentifier> requiredList)
public List<DictIdentifier> getRequiredElements()
public boolean hasRequiredElements()
public List<DictIdentifier> getOptionalElements()
public boolean hasOptionalElements()
public boolean allowsAnyElement()
Copyright © 2005–2015 Planetary Data System. All rights reserved.