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 TypeMethodDescriptionint
compareTo
(CustomModel customModel) boolean
getName()
getTypes()
int
hashCode()
void
setAspects
(List<CustomAspect> aspects) void
void
setConstraints
(List<CustomModelConstraint> constraints) void
setDescription
(String description) void
void
setNamespacePrefix
(String namespacePrefix) void
setNamespaceUri
(String namespaceUri) void
setStatus
(CustomModel.ModelStatus status) void
setTypes
(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:
compareTo
in interfaceComparable<CustomModel>
-
toString
-