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
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.