Package org.alfresco.rest.api.model
Class CustomModel
java.lang.Object
org.alfresco.rest.api.model.CustomModel
- All Implemented Interfaces:
Comparable<CustomModel>
- Author:
- Jamal Kaabi-Mofrad
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCustomModel(org.alfresco.service.cmr.dictionary.CustomModelDefinition modelDefinition) CustomModel(org.alfresco.service.cmr.dictionary.CustomModelDefinition modelDefinition, List<CustomType> types, List<CustomAspect> aspects, List<CustomModelConstraint> constraints) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(CustomModel customModel) booleangetName()getTypes()inthashCode()voidsetAspects(List<CustomAspect> aspects) voidvoidsetConstraints(List<CustomModelConstraint> constraints) voidsetDescription(String description) voidvoidsetNamespacePrefix(String namespacePrefix) voidsetNamespaceUri(String namespaceUri) voidsetStatus(CustomModel.ModelStatus status) voidsetTypes(List<CustomType> types) toString()
-
Constructor Details
-
CustomModel
public CustomModel() -
CustomModel
public CustomModel(org.alfresco.service.cmr.dictionary.CustomModelDefinition modelDefinition) -
CustomModel
public CustomModel(org.alfresco.service.cmr.dictionary.CustomModelDefinition modelDefinition, List<CustomType> types, List<CustomAspect> aspects, List<CustomModelConstraint> constraints)
-
-
Method Details
-
getName
-
setName
-
getAuthor
-
setAuthor
-
getDescription
-
setDescription
-
getStatus
-
setStatus
-
getNamespaceUri
-
setNamespaceUri
-
getNamespacePrefix
-
setNamespacePrefix
-
getTypes
-
setTypes
-
getAspects
-
setAspects
-
getConstraints
-
setConstraints
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<CustomModel>
-
toString
-