Package org.alfresco.repo.dictionary
Class M2ModelDefinition
java.lang.Object
org.alfresco.repo.dictionary.M2ModelDefinition
- All Implemented Interfaces:
ModelDefinition
Compiled Model Definition
- Author:
- David Caruana
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.alfresco.service.cmr.dictionary.ModelDefinition
ModelDefinition.XMLBindingType
-
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
- Specified by:
getName
in interfaceModelDefinition
- Returns:
- the model name
-
getDescription
- Specified by:
getDescription
in interfaceModelDefinition
- Returns:
- the model description
-
getAuthor
- Specified by:
getAuthor
in interfaceModelDefinition
- Returns:
- the model author
-
getPublishedDate
- Specified by:
getPublishedDate
in interfaceModelDefinition
- Returns:
- the date when the model was published
-
getVersion
- Specified by:
getVersion
in interfaceModelDefinition
- Returns:
- the model version
-
getNamespaces
- Specified by:
getNamespaces
in interfaceModelDefinition
- Returns:
- the namespaces defined by this model
-
isNamespaceDefined
- Specified by:
isNamespaceDefined
in interfaceModelDefinition
- Parameters:
uri
- namespace uri- Returns:
- true => model defines the uri
-
getImportedNamespaces
- Specified by:
getImportedNamespaces
in interfaceModelDefinition
- Returns:
- the namespaces imported by this model
-
isNamespaceImported
- Specified by:
isNamespaceImported
in interfaceModelDefinition
- Parameters:
uri
- namespace uri- Returns:
- true => model imports the uri
-
toXML
- Specified by:
toXML
in interfaceModelDefinition
-
getChecksum
- Specified by:
getChecksum
in interfaceModelDefinition
-
getDictionaryDAO
- Specified by:
getDictionaryDAO
in interfaceModelDefinition
- Returns:
- DictionaryDAO
-