Interface ModelDefinition
- All Known Subinterfaces:
CustomModelDefinition
- All Known Implementing Classes:
CustomModelDefinitionImpl
,M2ModelDefinition
Read-only definition of a Model.
- Author:
- David Caruana
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionlong
getChecksum
(ModelDefinition.XMLBindingType bindingType) getDescription
(MessageLookup messageLookup) getName()
boolean
isNamespaceDefined
(String uri) boolean
void
toXML
(ModelDefinition.XMLBindingType bindingType, OutputStream xml)
-
Method Details
-
getName
QName getName()- Returns:
- the model name
-
getDescription
- Returns:
- the model description
-
getAuthor
String getAuthor()- Returns:
- the model author
-
getPublishedDate
Date getPublishedDate()- Returns:
- the date when the model was published
-
getVersion
String getVersion()- Returns:
- the model version
-
getNamespaces
Collection<NamespaceDefinition> getNamespaces()- Returns:
- the namespaces defined by this model
-
isNamespaceDefined
- Parameters:
uri
- namespace uri- Returns:
- true => model defines the uri
-
getImportedNamespaces
Collection<NamespaceDefinition> getImportedNamespaces()- Returns:
- the namespaces imported by this model
-
isNamespaceImported
- Parameters:
uri
- namespace uri- Returns:
- true => model imports the uri
-
toXML
-
getChecksum
-
getDictionaryDAO
DictionaryDAO getDictionaryDAO()- Returns:
- DictionaryDAO
-