Package com.alfresco.content.models
Class Constraint
-
- All Implemented Interfaces:
@JsonClass(generateAdapter = true) public final class Constraint
-
-
Method Summary
Modifier and Type Method Description final StringgetId()final UnitsetId(@Json(name = "id") String id)final StringgetType()the type of the constraint final UnitsetType(@Json(name = "type") String type)the type of the constraint final StringgetTitle()the human-readable constraint title final UnitsetTitle(@Json(name = "title") String title)the human-readable constraint title final StringgetDescription()the human-readable constraint description final UnitsetDescription(@Json(name = "description") String description)the human-readable constraint description final Map<String, Map<String, Object>>getParameters()final UnitsetParameters(@Json(name = "parameters") Map<String, Map<String, Object>> parameters)-
-
Method Detail
-
setTitle
final Unit setTitle(@Json(name = "title") String title)
the human-readable constraint title
-
getDescription
final String getDescription()
the human-readable constraint description
-
setDescription
final Unit setDescription(@Json(name = "description") String description)
the human-readable constraint description
-
-
-
-