org.alfresco.service.cmr.dictionary
Interface ModelDefinition

All Known Implementing Classes:
M2ModelDefinition

public interface ModelDefinition

Read-only definition of a Model.


Method Summary
 java.lang.String getAuthor()
           
 java.lang.String getDescription()
           
 java.util.Collection getImportedNamespaces()
           
 QName getName()
           
 java.util.Collection getNamespaces()
           
 java.util.Date getPublishedDate()
           
 java.lang.String getVersion()
           
 boolean isNamespaceDefined(java.lang.String uri)
           
 boolean isNamespaceImported(java.lang.String uri)
           
 

Method Detail

getName

QName getName()
Returns:
the model name

getDescription

java.lang.String getDescription()
Returns:
the model description

getAuthor

java.lang.String getAuthor()
Returns:
the model author

getPublishedDate

java.util.Date getPublishedDate()
Returns:
the date when the model was published

getVersion

java.lang.String getVersion()
Returns:
the model version

getNamespaces

java.util.Collection getNamespaces()
Returns:
the namespaces defined by this model

isNamespaceDefined

boolean isNamespaceDefined(java.lang.String uri)
Parameters:
uri - namespace uri
Returns:
true => model defines the uri

getImportedNamespaces

java.util.Collection getImportedNamespaces()
Returns:
the namespaces imported by this model

isNamespaceImported

boolean isNamespaceImported(java.lang.String uri)
Parameters:
uri - namespace uri
Returns:
true => model imports the uri


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.