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 TypeMethodDescriptionlonggetChecksum(ModelDefinition.XMLBindingType bindingType) getDescription(MessageLookup messageLookup) getName()booleanisNamespaceDefined(String uri) booleanvoidtoXML(ModelDefinition.XMLBindingType bindingType, OutputStream xml)
-
Method Details
-
getName
- Specified by:
getNamein interfaceModelDefinition- Returns:
- the model name
-
getDescription
- Specified by:
getDescriptionin interfaceModelDefinition- Returns:
- the model description
-
getAuthor
- Specified by:
getAuthorin interfaceModelDefinition- Returns:
- the model author
-
getPublishedDate
- Specified by:
getPublishedDatein interfaceModelDefinition- Returns:
- the date when the model was published
-
getVersion
- Specified by:
getVersionin interfaceModelDefinition- Returns:
- the model version
-
getNamespaces
- Specified by:
getNamespacesin interfaceModelDefinition- Returns:
- the namespaces defined by this model
-
isNamespaceDefined
- Specified by:
isNamespaceDefinedin interfaceModelDefinition- Parameters:
uri- namespace uri- Returns:
- true => model defines the uri
-
getImportedNamespaces
- Specified by:
getImportedNamespacesin interfaceModelDefinition- Returns:
- the namespaces imported by this model
-
isNamespaceImported
- Specified by:
isNamespaceImportedin interfaceModelDefinition- Parameters:
uri- namespace uri- Returns:
- true => model imports the uri
-
toXML
- Specified by:
toXMLin interfaceModelDefinition
-
getChecksum
- Specified by:
getChecksumin interfaceModelDefinition
-
getDictionaryDAO
- Specified by:
getDictionaryDAOin interfaceModelDefinition- Returns:
- DictionaryDAO
-