Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.service.cmr.dictionary
Interface ModelDefinition

@org.alfresco.api.AlfrescoPublicApi
public interface ModelDefinition
Read-only definition of a Model.
Author:
David Caruana

Method Summary
getAnalyserResourceBundleName()
          Get the name of the property bundle that defines analyser mappings for this model (keyed by the type of the property)
getAuthor()
long
getChecksum(org.alfresco.service.cmr.dictionary.ModelDefinition.XMLBindingType bindingType)
getDescription(MessageLookup messageLookup)
org.alfresco.repo.dictionary.DictionaryDAO
getDictionaryDAO()
getImportedNamespaces()
getName()
getNamespaces()
getPublishedDate()
getVersion()
boolean
isNamespaceDefined(String uri)
boolean
isNamespaceImported(String uri)
void
toXML(org.alfresco.service.cmr.dictionary.ModelDefinition.XMLBindingType bindingType, OutputStream xml)
Method Detail
getName
QName getName()
Returns:
the model name

getDescription
String getDescription(MessageLookup messageLookup)
Returns:
the model description

getAuthor
String getAuthor()
Returns:
the model author

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

getVersion
String getVersion()
Returns:
the model version

getNamespaces
Collection<NamespaceDefinitiongetNamespaces()
Returns:
the namespaces defined by this model

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

getImportedNamespaces
Collection<NamespaceDefinitiongetImportedNamespaces()
Returns:
the namespaces imported by this model

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

toXML
void toXML(org.alfresco.service.cmr.dictionary.ModelDefinition.XMLBindingType bindingType,
           OutputStream xml)

getChecksum
long getChecksum(org.alfresco.service.cmr.dictionary.ModelDefinition.XMLBindingType bindingType)

getAnalyserResourceBundleName
String getAnalyserResourceBundleName()
Get the name of the property bundle that defines analyser mappings for this model (keyed by the type of the property)
Returns:
the resource or null if not set.

getDictionaryDAO
org.alfresco.repo.dictionary.DictionaryDAO getDictionaryDAO()
Returns:
DictionaryDAO

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2018 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.