|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.edustructures.sifworks.tools.mapping.OtherIdMapping
public class OtherIdMapping
Encapsulates an <OtherId> field mapping
| Constructor Summary | |
|---|---|
OtherIdMapping(java.lang.String type,
java.lang.String prefix)
Constructor |
|
OtherIdMapping(java.lang.String type,
java.lang.String prefix,
org.w3c.dom.Node node)
|
|
| Method Summary | |
|---|---|
OtherIdMapping |
copy()
Produces a duplicate of this Rule object |
static OtherIdMapping |
fromXML(ObjectMapping parent,
FieldMapping field,
org.w3c.dom.Element element)
|
java.lang.String |
getPrefix()
Gets the optional OtherId prefix string that must be present at the beginning of the OtherId value for this rule to evaluate true. |
java.lang.String |
getType()
Gets the <OtherId> Type attribute value that must be present for this rule to evaluate true |
void |
setPrefix(java.lang.String prefix)
Gets the optional OtherId prefix string that must be present at the beginning of the OtherId value for this rule to evaluate true. |
void |
setType(java.lang.String type)
Sets the <OtherId> Type attribute value that must be present for this rule to evaluate true |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OtherIdMapping(java.lang.String type,
java.lang.String prefix)
type - The value of the OtherId/@Type attribute to match (e.g. 'ZZ')prefix - The prefix value to match (e.g. 'GRADE:')
public OtherIdMapping(java.lang.String type,
java.lang.String prefix,
org.w3c.dom.Node node)
| Method Detail |
|---|
public OtherIdMapping copy()
public static OtherIdMapping fromXML(ObjectMapping parent,
FieldMapping field,
org.w3c.dom.Element element)
throws ADKConfigException
ADKConfigExceptionpublic void setType(java.lang.String type)
type - The value of the Type attribute that must be present for
this rule to evaluate true (e.g. "ZZ", "06", etc.)public java.lang.String getType()
public void setPrefix(java.lang.String prefix)
<OtherId Type="ZZ">GRADE:8</OtherId>)
a - prefix string agreed upon by two or more agents to identify
multiple <OtherId> instances (e.g. "HOMEROOM:", "BARCODE:",
"GRADE:", etc.)public java.lang.String getPrefix()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||