public static class PropertyFieldDefinition.FieldConstraint
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Map |
params |
protected java.lang.String |
type |
Constructor and Description |
---|
PropertyFieldDefinition.FieldConstraint(java.lang.String type,
java.util.Map params)
Constructs a FieldConstraint
|
Modifier and Type | Method and Description |
---|---|
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
|
public PropertyFieldDefinition.FieldConstraint(java.lang.String type, java.util.Map params)
type
- The type of the constraintparams
- Map of parameters for the constraintpublic java.lang.String getType()
public java.util.Map getParameters()
public org.json.JSONObject getParametersAsJSON()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.