public class CustomModel extends Object implements Comparable<CustomModel>
Modifier and Type | Class and Description |
---|---|
static class |
CustomModel.ModelStatus |
Constructor and Description |
---|
CustomModel() |
CustomModel(org.alfresco.service.cmr.dictionary.CustomModelDefinition modelDefinition) |
CustomModel(org.alfresco.service.cmr.dictionary.CustomModelDefinition modelDefinition,
List<CustomType> types,
List<CustomAspect> aspects,
List<CustomModelConstraint> constraints) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(CustomModel customModel) |
boolean |
equals(Object obj) |
List<CustomAspect> |
getAspects() |
String |
getAuthor() |
List<CustomModelConstraint> |
getConstraints() |
String |
getDescription() |
String |
getName() |
String |
getNamespacePrefix() |
String |
getNamespaceUri() |
CustomModel.ModelStatus |
getStatus() |
List<CustomType> |
getTypes() |
int |
hashCode() |
void |
setAspects(List<CustomAspect> aspects) |
void |
setAuthor(String author) |
void |
setConstraints(List<CustomModelConstraint> constraints) |
void |
setDescription(String description) |
void |
setName(String name) |
void |
setNamespacePrefix(String namespacePrefix) |
void |
setNamespaceUri(String namespaceUri) |
void |
setStatus(CustomModel.ModelStatus status) |
void |
setTypes(List<CustomType> types) |
String |
toString() |
public CustomModel()
public CustomModel(org.alfresco.service.cmr.dictionary.CustomModelDefinition modelDefinition)
public CustomModel(org.alfresco.service.cmr.dictionary.CustomModelDefinition modelDefinition, List<CustomType> types, List<CustomAspect> aspects, List<CustomModelConstraint> constraints)
public String getName()
public void setName(String name)
public String getAuthor()
public void setAuthor(String author)
public String getDescription()
public void setDescription(String description)
public CustomModel.ModelStatus getStatus()
public void setStatus(CustomModel.ModelStatus status)
public String getNamespaceUri()
public void setNamespaceUri(String namespaceUri)
public String getNamespacePrefix()
public void setNamespacePrefix(String namespacePrefix)
public List<CustomType> getTypes()
public void setTypes(List<CustomType> types)
public List<CustomAspect> getAspects()
public void setAspects(List<CustomAspect> aspects)
public List<CustomModelConstraint> getConstraints()
public void setConstraints(List<CustomModelConstraint> constraints)
public int compareTo(CustomModel customModel)
compareTo
in interface Comparable<CustomModel>
Copyright © 2005–2017 Alfresco Software. All rights reserved.