|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.forms.PropertyFieldDefinition.FieldConstraint
public static class PropertyFieldDefinition.FieldConstraint
Represents a constraint on a property field
Field Summary | |
---|---|
protected java.util.Map |
params
|
protected java.lang.String |
type
|
Constructor Summary | |
---|---|
PropertyFieldDefinition.FieldConstraint(java.lang.String type,
java.util.Map params)
Constructs a FieldConstraint |
Method Summary | |
---|---|
java.util.Map |
getParameters()
Returns the parameters for the constraint |
org.json.JSONObject |
getParametersAsJSON()
Returns the paramters for the constraint as a JSONObject |
java.lang.String |
getType()
Returns the type of the constraint |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String type
protected java.util.Map params
Constructor Detail |
---|
public PropertyFieldDefinition.FieldConstraint(java.lang.String type, java.util.Map params)
type
- The type of the constraintparams
- Map of parameters for the constraintMethod Detail |
---|
public java.lang.String getType()
public java.util.Map getParameters()
public org.json.JSONObject getParametersAsJSON()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |