|
||||||||||
| 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_Error
public class SIF_Error
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
SIF_Error()
Constructor |
|
SIF_Error(java.lang.Integer sifCategory,
java.lang.Integer sifCode,
java.lang.String sifDesc)
Constructor that accepts values for all mandatory fields |
|
SIF_Error(java.lang.Integer sifCategory,
java.lang.Integer sifCode,
java.lang.String sifDesc,
java.lang.String sifExtDesc)
Create an instance of SIF_Error |
|
SIF_Error(SIFErrorCategory sifCategory,
java.lang.Integer sifCode,
java.lang.String sifDesc,
java.lang.String sifExtDesc)
Create an instance of SIF_Error |
|
| Method Summary | |
|---|---|
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.Integer |
getSIF_Category()
Gets the value of the <SIF_Category> element. |
java.lang.Integer |
getSIF_Code()
Gets the value of the <SIF_Code> element. |
java.lang.String |
getSIF_Desc()
Gets the value of the <SIF_Desc> element. |
java.lang.String |
getSIF_ExtendedDesc()
Gets the value of the <SIF_ExtendedDesc> element. |
void |
setSIF_Category(java.lang.Integer value)
Sets the value of the <SIF_Category> element. |
void |
setSIF_Category(SIFErrorCategory errorCategory)
Sets the Category associated with this error |
void |
setSIF_Code(java.lang.Integer value)
Sets the value of the <SIF_Code> element. |
void |
setSIF_Desc(java.lang.String value)
Sets the value of the <SIF_Desc> element. |
void |
setSIF_ExtendedDesc(java.lang.String value)
Sets the value of the <SIF_ExtendedDesc> element. |
java.lang.String |
toString()
Returns the value of getTextValue |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SIF_Error()
public SIF_Error(java.lang.Integer sifCategory,
java.lang.Integer sifCode,
java.lang.String sifDesc)
sifCategory - sifCode - See Error Codes.sifDesc - A simple, easy to understand, description of the error. The primary consumer of this message is the application user. Example: "Unable to open database."
public SIF_Error(java.lang.Integer sifCategory,
java.lang.Integer sifCode,
java.lang.String sifDesc,
java.lang.String sifExtDesc)
sifCategory - The SIF category to setsifCode - The SIF error code to setsifDesc - A description of the errorsifExtDesc - An extended description
public SIF_Error(SIFErrorCategory sifCategory,
java.lang.Integer sifCode,
java.lang.String sifDesc,
java.lang.String sifExtDesc)
sifCategory - The SIF category to setsifCode - The SIF error code to setsifDesc - A description of the errorsifExtDesc - An extended description| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.Integer getSIF_Category()
<SIF_Category> element.
SIF_Category element of this object.public void setSIF_Category(java.lang.Integer value)
<SIF_Category> element.
value - A Integer objectpublic java.lang.Integer getSIF_Code()
<SIF_Code> element.
The SIF specification defines the meaning of this element as: "See Error Codes."
SIF_Code element of this object.public void setSIF_Code(java.lang.Integer value)
<SIF_Code> element.
The SIF specification defines the meaning of this element as: "See Error Codes."
value - A Integer objectpublic java.lang.String getSIF_Desc()
<SIF_Desc> element.
The SIF specification defines the meaning of this element as: "A simple, easy to understand, description of the error. The primary consumer of this message is the application user. Example: "Unable to open database.""
SIF_Desc element of this object.public void setSIF_Desc(java.lang.String value)
<SIF_Desc> element.
The SIF specification defines the meaning of this element as: "A simple, easy to understand, description of the error. The primary consumer of this message is the application user. Example: "Unable to open database.""
value - A String objectpublic java.lang.String getSIF_ExtendedDesc()
<SIF_ExtendedDesc> element.
The SIF specification defines the meaning of this element as: "An optional error description that is more complete and technical in nature. It is to be used as a diagnostic message in trouble-shooting procedures. Example: "The 'Students' table is opened in exclusive mode by user 'ADM1' (dbm.cpp, line 300).""
SIF_ExtendedDesc element of this object.public void setSIF_ExtendedDesc(java.lang.String value)
<SIF_ExtendedDesc> element.
The SIF specification defines the meaning of this element as: "An optional error description that is more complete and technical in nature. It is to be used as a diagnostic message in trouble-shooting procedures. Example: "The 'Students' table is opened in exclusive mode by user 'ADM1' (dbm.cpp, line 300).""
value - A String objectpublic void setSIF_Category(SIFErrorCategory errorCategory)
errorCategory - The category to usepublic java.lang.String toString()
ElementgetTextValue
toString in class Element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||