ConstraintFieldpublic class ConstraintField extends com.sun.enterprise.deployment.runtime.RuntimeDescriptor this class contains runtime information for the web bundle
it was kept to be backward compatible with the schema2beans descriptors
generated by iAS 7.0 engineering team. |
Fields Summary |
---|
public static final String | VALUE | public static final String | NAME | public static final String | SCOPE | public static final String | MATCH_EXPR | public static final String | CACHE_ON_MATCH | public static final String | CACHE_ON_MATCH_FAILURE |
Constructors Summary |
---|
public ConstraintField(ConstraintField other)
super(other);
| public ConstraintField()
setAttributeValue(SCOPE, "request.parameter");
setAttributeValue(CACHE_ON_MATCH, "true");
setAttributeValue(CACHE_ON_MATCH_FAILURE, "false");
|
Methods Summary |
---|
public int | addValue(java.lang.String value)
int index = this.addValue(VALUE, value);
if (getAttributeValue(VALUE, index, MATCH_EXPR)==null)
setAttributeValue(VALUE, index, MATCH_EXPR, "equals");
if (getAttributeValue(VALUE, index, CACHE_ON_MATCH)==null)
setAttributeValue(VALUE, index, CACHE_ON_MATCH, "true");
if (getAttributeValue(VALUE, index, CACHE_ON_MATCH_FAILURE)==null)
setAttributeValue(VALUE, index, CACHE_ON_MATCH_FAILURE, "false");
return index;
| public java.lang.String | getValue(int index)
return (String)this.getValue(VALUE, index);
| public java.lang.String[] | getValue()
return (String[])this.getValues(VALUE);
| public int | removeValue(java.lang.String value)
return this.removeValue(VALUE, value);
| public void | setValue(int index, java.lang.String value)
this.setValue(VALUE, index, value);
| public void | setValue(java.lang.String[] value)
this.setValue(VALUE, value);
| public int | sizeValue()
return this.size(VALUE);
| public boolean | verify()
return true;
|
|