org.alfresco.repo.dictionary
Class M2ModelDefinition
java.lang.Object
org.alfresco.repo.dictionary.M2ModelDefinition
- All Implemented Interfaces:
- ModelDefinition
public class M2ModelDefinition
- extends java.lang.Object
- implements ModelDefinition
Compiled Model Definition
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getName
public QName getName()
- Specified by:
getName
in interface ModelDefinition
- Returns:
- the model name
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface ModelDefinition
- Returns:
- the model description
getAuthor
public java.lang.String getAuthor()
- Specified by:
getAuthor
in interface ModelDefinition
- Returns:
- the model author
getPublishedDate
public java.util.Date getPublishedDate()
- Specified by:
getPublishedDate
in interface ModelDefinition
- Returns:
- the date when the model was published
getVersion
public java.lang.String getVersion()
- Specified by:
getVersion
in interface ModelDefinition
- Returns:
- the model version
getNamespaces
public java.util.Collection getNamespaces()
- Specified by:
getNamespaces
in interface ModelDefinition
- Returns:
- the namespaces defined by this model
isNamespaceDefined
public boolean isNamespaceDefined(java.lang.String uri)
- Specified by:
isNamespaceDefined
in interface ModelDefinition
- Parameters:
uri
- namespace uri
- Returns:
- true => model defines the uri
getImportedNamespaces
public java.util.Collection getImportedNamespaces()
- Specified by:
getImportedNamespaces
in interface ModelDefinition
- Returns:
- the namespaces imported by this model
isNamespaceImported
public boolean isNamespaceImported(java.lang.String uri)
- Specified by:
isNamespaceImported
in interface ModelDefinition
- Parameters:
uri
- namespace uri
- Returns:
- true => model imports the uri
toXML
public void toXML(ModelDefinition.XMLBindingType bindingType,
java.io.OutputStream xml)
- Specified by:
toXML
in interface ModelDefinition
getChecksum
public long getChecksum(ModelDefinition.XMLBindingType bindingType)
- Specified by:
getChecksum
in interface ModelDefinition
getAnalyserResourceBundleName
public java.lang.String getAnalyserResourceBundleName()
- Description copied from interface:
ModelDefinition
- Get the name of the property bundle that defines analyser mappings for this model (keyed by the type of the property)
- Specified by:
getAnalyserResourceBundleName
in interface ModelDefinition
- Returns:
- the resource or null if not set.
getDictionaryDAO
public DictionaryDAO getDictionaryDAO()
- Specified by:
getDictionaryDAO
in interface ModelDefinition
- Returns:
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.