Package org.alfresco.rest.api.model
Class CustomModel
- java.lang.Object
-
- org.alfresco.rest.api.model.CustomModel
-
- All Implemented Interfaces:
Comparable<CustomModel>
public class CustomModel extends Object implements Comparable<CustomModel>
- Author:
- Jamal Kaabi-Mofrad
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCustomModel.ModelStatus
-
Constructor Summary
Constructors Constructor Description CustomModel()CustomModel(CustomModelDefinition modelDefinition)CustomModel(CustomModelDefinition modelDefinition, List<CustomType> types, List<CustomAspect> aspects, List<CustomModelConstraint> constraints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(CustomModel customModel)booleanequals(Object obj)List<CustomAspect>getAspects()StringgetAuthor()List<CustomModelConstraint>getConstraints()StringgetDescription()StringgetName()StringgetNamespacePrefix()StringgetNamespaceUri()CustomModel.ModelStatusgetStatus()List<CustomType>getTypes()inthashCode()voidsetAspects(List<CustomAspect> aspects)voidsetAuthor(String author)voidsetConstraints(List<CustomModelConstraint> constraints)voidsetDescription(String description)voidsetName(String name)voidsetNamespacePrefix(String namespacePrefix)voidsetNamespaceUri(String namespaceUri)voidsetStatus(CustomModel.ModelStatus status)voidsetTypes(List<CustomType> types)StringtoString()
-
-
-
Constructor Detail
-
CustomModel
public CustomModel()
-
CustomModel
public CustomModel(CustomModelDefinition modelDefinition)
-
CustomModel
public CustomModel(CustomModelDefinition modelDefinition, List<CustomType> types, List<CustomAspect> aspects, List<CustomModelConstraint> constraints)
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getAuthor
public String getAuthor()
-
setAuthor
public void setAuthor(String author)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getStatus
public CustomModel.ModelStatus getStatus()
-
setStatus
public void setStatus(CustomModel.ModelStatus status)
-
getNamespaceUri
public String getNamespaceUri()
-
setNamespaceUri
public void setNamespaceUri(String namespaceUri)
-
getNamespacePrefix
public String getNamespacePrefix()
-
setNamespacePrefix
public void setNamespacePrefix(String namespacePrefix)
-
getTypes
public List<CustomType> getTypes()
-
setTypes
public void setTypes(List<CustomType> types)
-
getAspects
public List<CustomAspect> getAspects()
-
setAspects
public void setAspects(List<CustomAspect> aspects)
-
getConstraints
public List<CustomModelConstraint> getConstraints()
-
setConstraints
public void setConstraints(List<CustomModelConstraint> constraints)
-
compareTo
public int compareTo(CustomModel customModel)
- Specified by:
compareToin interfaceComparable<CustomModel>
-
-