|
||||||||||
| 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.infra.SIF_Select
public class SIF_Select
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
SIF_Select()
Constructor |
|
SIF_Select(java.lang.Boolean distinct,
java.lang.String rowCount,
SIFSelectElement sifElement)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
void |
addSIF_Element(SIFSelectElement value)
Adds a new <SIF_Element> child element. |
void |
addSIF_Element(java.lang.String alias,
Topics objectName,
java.lang.String value)
Adds a new <SIF_Element> repeatable element. |
java.lang.Boolean |
getDistinct()
Gets the value of the Distinct attribute. |
java.lang.String |
getKey()
Gets the key of this object |
ElementDef[] |
getKeyFields()
Gets the metadata fields that make up the key of this object |
java.lang.String |
getRowCount()
Gets the value of the RowCount attribute. |
SIFSelectElement |
getSIF_Element(java.lang.String alias,
Topics objectName)
Gets a SIFSelectElement object instance. |
SIFSelectElement[] |
getSIF_Elements()
Gets all SIFSelectElement object instances. |
void |
removeSIF_Element(java.lang.String alias,
Topics objectName)
Removes a SIFSelectElement object instance. |
void |
setDistinct(java.lang.Boolean value)
Sets the value of the Distinct attribute. |
void |
setRowCount(java.lang.String value)
Sets the value of the RowCount attribute. |
void |
setSIF_Elements(SIFSelectElement[] sif_elements)
Sets an array of SIFSelectElement objects. |
| 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_Select()
public SIF_Select(java.lang.Boolean distinct,
java.lang.String rowCount,
SIFSelectElement sifElement)
distinct - Specifies whether query results should return all rows (false) or just distinct ones (true). Rows are distinct if at least one column differs between them.rowCount - The maximum number of rows to return. If All, return all rows, otherwise return the top rows up to the maximum row count indicated.sifElement - | Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.Boolean getDistinct()
Distinct attribute.
The SIF specification defines the meaning of this attribute as: "Specifies whether query results should return all rows (false) or just distinct ones (true). Rows are distinct if at least one column differs between them."
Distinct attribute of this object.public void setDistinct(java.lang.Boolean value)
Distinct attribute.
The SIF specification defines the meaning of this attribute as: "Specifies whether query results should return all rows (false) or just distinct ones (true). Rows are distinct if at least one column differs between them."
value - A Boolean objectpublic java.lang.String getRowCount()
RowCount attribute.
The SIF specification defines the meaning of this attribute as: "The maximum number of rows to return. If All, return all rows, otherwise return the top rows up to the maximum row count indicated."
RowCount attribute of this object.public void setRowCount(java.lang.String value)
RowCount attribute.
The SIF specification defines the meaning of this attribute as: "The maximum number of rows to return. If All, return all rows, otherwise return the top rows up to the maximum row count indicated."
value - A String objectpublic void addSIF_Element(SIFSelectElement value)
<SIF_Element> child element.
value - A SIFSelectElement object
public void addSIF_Element(java.lang.String alias,
Topics objectName,
java.lang.String value)
<SIF_Element> repeatable element.
This form of setSIF_Element is provided as a convenience method
that is functionally equivalent to the version of setSIF_Element
that accepts a single SIFSelectElement object.
alias - objectName - value - Gets or sets the content value of the <SIFSelectElement> element
public void removeSIF_Element(java.lang.String alias,
Topics objectName)
SIFSelectElement object instance. More than one instance can be defined for this object because it is a repeatable field element.
alias - Identifies the SIFSelectElement object to remove by its Alias valueobjectName - Identifies the SIFSelectElement object to remove by its ObjectName value
public SIFSelectElement getSIF_Element(java.lang.String alias,
Topics objectName)
SIFSelectElement object instance. More than one instance can be defined for this object because it is a repeatable field element.
alias - Identifies the SIFSelectElement object to return by its "Alias" attribute valueobjectName - Identifies the SIFSelectElement object to return by its "ObjectName" attribute value
SIFSelectElement objectpublic SIFSelectElement[] getSIF_Elements()
SIFSelectElement object instances. More than one instance can be defined for this object because it is a repeatable field element.
SIFSelectElement objectspublic void setSIF_Elements(SIFSelectElement[] sif_elements)
SIFSelectElement objects. All existing
SIFSelectElement instances
are removed and replaced with this list. Calling this method with the
parameter value set to null removes all SIFSelectElements.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||