public class DefinitionFactory extends Object
Dictionary.| Constructor and Description |
|---|
DefinitionFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Definition |
createDefinition(Dictionary sourceDictionary,
ObjectStatement object)
This method will determine the type of definition and created it.
|
static ElementDefinition |
createElementDefinition(Dictionary sourceDictionary,
ObjectStatement object)
This method creates an
ElementDefinition by gathering the
attributes required from the ObjectStatement as specified in the
PDS Data Dictionary document. |
static GroupDefinition |
createGroupDefinition(Dictionary sourceDictionary,
ObjectStatement object)
This method creates an
GroupDefinition by gathering the
attributes required from the ObjectStatement as specified in the
PDS Data Dictionary document. |
static ObjectDefinition |
createObjectDefinition(Dictionary sourceDictionary,
ObjectStatement object)
This method creates an
ObjectDefinition by gathering the
attributes required from the ObjectStatement as specified in the
PDS Data Dictionary document. |
public static Definition createDefinition(Dictionary sourceDictionary, ObjectStatement object) throws UnknownDefinitionException
sourceDictionary - with which this definition will be associated with. This call
will NOT add the definition to the given source dictionary as
Aliases have not been added to the definition at this
point.object - from which the definition will be createdDefinition that represents an
entry in a PDS data dictionaryUnknownDefinitionException - thrown when the type of definition can not be recognized.public static ObjectDefinition createObjectDefinition(Dictionary sourceDictionary, ObjectStatement object) throws UnknownDefinitionException
ObjectDefinition by gathering the
attributes required from the ObjectStatement as specified in the
PDS Data Dictionary document.sourceDictionary - with which this definition will be associated with. This call
will NOT add the definition to the given source dictionary as
Aliases have not been added to the definition at this
point.object - that has the information to form an ObjectDefinitionDefinition that represents an entry in a PDS data
dictionaryUnknownDefinitionException - thrown when the type of definition can not be recognized.public static GroupDefinition createGroupDefinition(Dictionary sourceDictionary, ObjectStatement object) throws UnknownDefinitionException
GroupDefinition by gathering the
attributes required from the ObjectStatement as specified in the
PDS Data Dictionary document.sourceDictionary - with which this definition will be associated with. This call
will NOT add the definition to the given source dictionary as
Aliases have not been added to the definition at this
point.object - that has the information to form an GroupDefinitionDefinition that represents an entry in a PDS data
dictionaryUnknownDefinitionException - thrown when the type of definition can not be recognized.public static ElementDefinition createElementDefinition(Dictionary sourceDictionary, ObjectStatement object) throws UnknownDefinitionException
ElementDefinition by gathering the
attributes required from the ObjectStatement as specified in the
PDS Data Dictionary document.sourceDictionary - with which this definition will be associated with. This call
will NOT add the definition to the given source dictionary as
Aliases have not been added to the definition at this
point.object - that has the information to form an ElementDefinitionDefinition that represents an entry in a PDS data
dictionaryUnknownDefinitionException - thrown when the type of definition can not be recognized.Copyright © 2019. All rights reserved.