public class FieldConstraintDescr extends BaseDescr
Constructor and Description |
---|
FieldConstraintDescr() |
FieldConstraintDescr(String fieldName) |
Modifier and Type | Method and Description |
---|---|
void |
addRestriction(RestrictionDescr restriction) |
String |
getFieldName() |
RestrictionConnectiveDescr |
getRestriction() |
List |
getRestrictions() |
void |
readExternal(ObjectInput in) |
void |
setResource(org.kie.api.io.Resource resource) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
copyLocation, getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getNamespace, getResource, getStartCharacter, getText, positionAsString, replaceVariable, setEndCharacter, setEndLocation, setLocation, setNamespace, setStartCharacter, setText
public FieldConstraintDescr()
public FieldConstraintDescr(String fieldName)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class BaseDescr
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class BaseDescr
IOException
public String getFieldName()
public void addRestriction(RestrictionDescr restriction)
public List getRestrictions()
public RestrictionConnectiveDescr getRestriction()
public void setResource(org.kie.api.io.Resource resource)
setResource
in class BaseDescr
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.