|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.edustructures.sifworks.Element
com.edustructures.sifworks.SIFElement
com.edustructures.sifworks.SIFKeyedElement
com.edustructures.sifworks.infra.SIF_Conditions
public class SIF_Conditions
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
SIF_Conditions()
Constructor |
|
SIF_Conditions(ConditionType type)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
void |
addSIF_Condition(SIF_Condition value)
Adds a new <SIF_Condition> child element. |
void |
addSIF_Condition(java.lang.String sifElement,
Operators sifOperator,
java.lang.String sifValue)
Adds a new <SIF_Condition> repeatable element. |
java.lang.String |
getKey()
Gets the key of this object |
ElementDef[] |
getKeyFields()
Gets the metadata fields that make up the key of this object |
SIF_Condition |
getSIF_Condition(java.lang.String sifElement,
Operators sifOperator,
java.lang.String sifValue)
Gets a SIF_Condition object instance. |
SIF_Condition[] |
getSIF_Conditions()
Gets all SIF_Condition object instances. |
java.lang.String |
getType()
Gets the value of the Type attribute. |
void |
removeSIF_Condition(java.lang.String sifElement,
Operators sifOperator,
java.lang.String sifValue)
Removes a SIF_Condition object instance. |
void |
setSIF_Conditions(SIF_Condition[] sif_conditions)
Sets an array of SIF_Condition objects. |
void |
setType(ConditionType value)
Sets the value of the Type attribute. |
void |
setType(java.lang.String value)
Sets the value of the Type attribute as a String. |
| Methods inherited from class com.edustructures.sifworks.SIFElement |
|---|
addChild, addChild, clone, compareGraphTo, create, effectiveSIFVersion, getChild, getChild, getChild, getChild, getChild, getChildCount, getChildList, getChildList, getChildList, getChildren, getChildren, getContent, getContent, getField, getField, getFieldCount, getFields, getFieldValue, getSIFValue, getSIFVersion, getTextValue, getXmlId, hasTextValue, removeChild, removeChild, removeChild, removeChild, restoreImplementationDef, setChanged, setChildren, setEmpty, setField, setField, setField, setField, setSIFValue, setSIFVersion, setTextValue, setXmlId, tag |
| Methods inherited from class com.edustructures.sifworks.Element |
|---|
compareTo, getElementDef, getParent, getRoot, isChanged, isDoNotEncode, isEmpty, setChanged, setDoNotEncode, setElementDef, setEmpty, setParent, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SIF_Conditions()
public SIF_Conditions(ConditionType type)
type - | Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getType()
Type attribute.
Type attribute of this object.public void setType(ConditionType value)
Type attribute.
value - A constant defined by the ConditionType classpublic void setType(java.lang.String value)
Type attribute as a String.
value - The value as a Stringpublic void addSIF_Condition(SIF_Condition value)
<SIF_Condition> child element.
value - A SIF_Condition object
public void addSIF_Condition(java.lang.String sifElement,
Operators sifOperator,
java.lang.String sifValue)
<SIF_Condition> repeatable element.
This form of setSIF_Condition is provided as a convenience method
that is functionally equivalent to the version of setSIF_Condition
that accepts a single SIF_Condition object.
sifElement - This is the element/attribute being queried. See below for syntax.sifOperator - The comparison operator for the condition.sifValue - SIF_Value is the data that is used to compare with the value of the element or attribute.
public void removeSIF_Condition(java.lang.String sifElement,
Operators sifOperator,
java.lang.String sifValue)
SIF_Condition object instance. More than one instance can be defined for this object because it is a repeatable field element.
sifElement - Identifies the SIF_Condition object to remove by its SIF_Element valuesifOperator - Identifies the SIF_Condition object to remove by its SIF_Operator valuesifValue - Identifies the SIF_Condition object to remove by its SIF_Value value
public SIF_Condition getSIF_Condition(java.lang.String sifElement,
Operators sifOperator,
java.lang.String sifValue)
SIF_Condition object instance. More than one instance can be defined for this object because it is a repeatable field element.
sifElement - Identifies the SIF_Condition object to return by its "SIF_Element" attribute valuesifOperator - Identifies the SIF_Condition object to return by its "SIF_Operator" attribute valuesifValue - Identifies the SIF_Condition object to return by its "SIF_Value" attribute value
SIF_Condition objectpublic SIF_Condition[] getSIF_Conditions()
SIF_Condition object instances. More than one instance can be defined for this object because it is a repeatable field element.
SIF_Condition objectspublic void setSIF_Conditions(SIF_Condition[] sif_conditions)
SIF_Condition objects. All existing
SIF_Condition instances
are removed and replaced with this list. Calling this method with the
parameter value set to null removes all SIF_Conditions.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||