com.waveset.adapter
Class SAPHRActiveSyncAdapter.IDOC_Segment
java.lang.Object
com.waveset.util.AbstractXmlObject
com.waveset.object.GenericObject
com.waveset.adapter.SAPHRActiveSyncAdapter.IDOC_Segment
- All Implemented Interfaces:
- java.util.Map, javax.naming.Referenceable, XmlObject
- Enclosing class:
- SAPHRActiveSyncAdapter
- protected static class SAPHRActiveSyncAdapter.IDOC_Segment
- extends GenericObject
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Fields inherited from class com.waveset.object.GenericObject |
ATT_ID, ATT_NAME, ATT_TYPE, ATT_VALUE, code_id, EL_ATTRIBUTE, EL_FORMREF, ELEMENT, FLATTEN_ALL, FLATTEN_NOTHING, FLATTEN_OBJECT_LISTS, SYN_MISMATCHED_NAMES, SYN_MISPLACED_DOT, SYN_MISPLACED_LBRACKET, SYN_NAMED_LIST, SYN_NO_DOT, SYN_NO_GEO, SYN_NO_INDEX, SYN_NO_LIST, SYN_NO_NAME, SYN_NO_TARGET |
Method Summary |
java.util.Date |
getDate(java.lang.String name,
boolean throwExceptions)
Coerce an object into a date. |
protected java.util.Date |
getEffectiveDate()
Return the Date that this data will be effective |
protected int |
getInfotype()
Return the infotype as an int. |
protected java.lang.String |
getInfotypeString()
|
protected java.lang.String |
getObjId()
|
protected java.lang.String |
getObjtype()
|
protected java.util.Map |
getSchemaData(java.util.Collection schemaMapNames,
java.util.Map futureData)
Retrieve the data that matches the RHS of the schema map from this object. |
protected java.lang.String |
getSubtype()
|
protected boolean |
isFutureData()
|
protected boolean |
isPastData()
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
Put the selected value in the map. |
protected void |
setFutureData(boolean val)
|
protected void |
setLevel(int heirarchyLevel)
|
protected void |
setPastData(boolean val)
|
Methods inherited from class com.waveset.object.GenericObject |
add, addAlias, assimilate, assimilateModifications, browse, clear, clearAliases, containsKey, containsValue, dumpMap, entrySet, filter, findObject, findObject, get, getAttributes, getBoolean, getDate, getDate, getElementName, getEncrypted, getForm, getFormRef, getId, getInt, getList, getListOfStrings, getLocal, getLong, getName, getObject, getObjectCreateIfNull, getString, isEmpty, keySet, main, parseXml, parseXml, println, put, put, put, putAll, putLocal, remove, removeLocal, setAliases, setAttributes, setForm, setFormRef, setId, setIgnoreForm, setName, size, sort, sort, test1, test2, test3, toDisplayString, toDisplayString, toMap, toMap, toMap, toMap, toMap, toMap, toString, toXml, toXmlNoForm, toXmlNormalized, toXmlNormalized, toXmlNormalized, trace, trace, values |
Methods inherited from class com.waveset.util.AbstractXmlObject |
addXmlHeader, cloneObject, dump, dumpFile, getReference, println, setTrace, toIdentityString, toVerboseString, toVerboseString, toXml, toXml, toXml |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
KEY_FUTURE
protected static final java.lang.String KEY_FUTURE
- See Also:
- Constant Field Values
KEY_PAST
protected static final java.lang.String KEY_PAST
- See Also:
- Constant Field Values
KEY_OTYPE
protected static final java.lang.String KEY_OTYPE
- See Also:
- Constant Field Values
KEY_OBJID
protected static final java.lang.String KEY_OBJID
- See Also:
- Constant Field Values
KEY_PERNR
protected static final java.lang.String KEY_PERNR
- See Also:
- Constant Field Values
KEY_INFOTYPE
protected static final java.lang.String KEY_INFOTYPE
- See Also:
- Constant Field Values
KEY_INFO_SUBTYPE
protected static final java.lang.String KEY_INFO_SUBTYPE
- See Also:
- Constant Field Values
KEY_BEGIN_DATE
protected static final java.lang.String KEY_BEGIN_DATE
- See Also:
- Constant Field Values
KEY_END_DATE
protected static final java.lang.String KEY_END_DATE
- See Also:
- Constant Field Values
SAPHRActiveSyncAdapter.IDOC_Segment
protected SAPHRActiveSyncAdapter.IDOC_Segment(ActiveSyncUtil util)
- Util for logging parse exceptions.
getObjtype
protected java.lang.String getObjtype()
getSubtype
protected java.lang.String getSubtype()
getInfotypeString
protected java.lang.String getInfotypeString()
getInfotype
protected int getInfotype()
throws java.lang.NumberFormatException
- Return the infotype as an int. Because InfoTypes are often stored as
0006, 0105, converting them to an int is very handy.
- Returns:
- infotype as an int or -1 if not found
- Throws:
java.lang.NumberFormatException
getSchemaData
protected java.util.Map getSchemaData(java.util.Collection schemaMapNames,
java.util.Map futureData)
- Retrieve the data that matches the RHS of the schema map from this object.
Return the data that is in the future in a separate map
- Parameters:
schemaMapNames
- - a list of the "RHS" of the schema map.futureData
- - a container that will contain futureData if any is found
- Returns:
- all of the entries as a map keyed by the Schema style naming
infotype:subtype:idoc-def
isFutureData
protected boolean isFutureData()
setFutureData
protected void setFutureData(boolean val)
getEffectiveDate
protected java.util.Date getEffectiveDate()
- Return the Date that this data will be effective
isPastData
protected boolean isPastData()
setPastData
protected void setPastData(boolean val)
getObjId
protected java.lang.String getObjId()
put
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
- Put the selected value in the map. Parse special dates and set
"future or past" boolean values.
- Specified by:
put
in interface java.util.Map
- Overrides:
put
in class GenericObject
getDate
public java.util.Date getDate(java.lang.String name,
boolean throwExceptions)
throws WavesetException
- Coerce an object into a date. Override the GenericObject method
in order to change the data format.
- Overrides:
getDate
in class GenericObject
- Throws:
WavesetException
setLevel
protected void setLevel(int heirarchyLevel)