nz.ac.waikato.mcennis.rat.graph.descriptors
Class PropertyRestriction
java.lang.Object
nz.ac.waikato.mcennis.rat.graph.descriptors.PropertyRestriction
- All Implemented Interfaces:
- SyntaxChecker, SyntaxObject
public class PropertyRestriction
- extends java.lang.Object
- implements SyntaxObject
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyRestriction
public PropertyRestriction()
setPropertyQuery
public void setPropertyQuery(PropertyQuery test)
check
public boolean check(Property type,
java.lang.Object o)
- Specified by:
check
in interface SyntaxChecker
check
public boolean check(Property type)
- Specified by:
check
in interface SyntaxChecker
check
public boolean check(Parameter type)
- Specified by:
check
in interface SyntaxChecker
getMaxCount
public int getMaxCount()
- Specified by:
getMaxCount
in interface SyntaxChecker
setMaxCount
public void setMaxCount(int maxCount)
- Specified by:
setMaxCount
in interface SyntaxObject
getMinCount
public int getMinCount()
- Specified by:
getMinCount
in interface SyntaxChecker
setMinCount
public void setMinCount(int minCount)
- Specified by:
setMinCount
in interface SyntaxObject
getTest
public PropertyQuery getTest()
- Specified by:
getTest
in interface SyntaxObject
setTest
public void setTest(PropertyQuery test)
- Specified by:
setTest
in interface SyntaxObject
getClassType
public java.lang.Class getClassType()
- Specified by:
getClassType
in interface SyntaxChecker
setClassType
public void setClassType(java.lang.Class classType)
- Specified by:
setClassType
in interface SyntaxObject
duplicate
public PropertyRestriction duplicate()
- Specified by:
duplicate
in interface SyntaxObject
setRestriction
public void setRestriction(java.lang.String type,
PropertyRestriction restriction)
- Specified by:
setRestriction
in interface SyntaxObject
setDefaultRestriction
public void setDefaultRestriction(PropertyRestriction restriction)
- Specified by:
setDefaultRestriction
in interface SyntaxObject
check
public boolean check(Property property,
java.util.List value)
- Specified by:
check
in interface SyntaxChecker
check
public boolean check(java.lang.String type,
java.lang.Object value)
- Specified by:
check
in interface SyntaxChecker
check
public boolean check(java.lang.String type,
java.util.List value)
- Specified by:
check
in interface SyntaxChecker