|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.orion.sdata.servlet.accpac.JiBXConfigurationAbstractResource
com.sage.orion.sdata.servlet.accpac.LookupField
public class LookupField
The LookupField
is a simple structure used in parsing the
ViewResourceMapping files.
A lookup field defines which field of a ReferencedResource
is to be
exported from the main Resource
, and by what name it will be
exported.
Like the other similar classes, it is designed to be built by the JiBX parser and then queried elsewhere.
Constructor Summary | |
---|---|
LookupField()
constructs an instance of the LookupField class. |
|
LookupField(java.lang.String name,
java.lang.String viewFieldName)
constructs an instance of the LookupField class with the given
local SData and referenced Accpac names. |
Method Summary | |
---|---|
java.lang.String |
getName()
gets the SData name of the looked up field |
java.lang.String |
getViewFieldName()
gets the internal name. |
protected void |
onEndBuilding()
This will be called at the end of the building phase. |
void |
setName(java.lang.String name)
sets the name. |
void |
setViewFieldName(java.lang.String name)
sets the internal name. |
Methods inherited from class com.sage.orion.sdata.servlet.accpac.JiBXConfigurationAbstractResource |
---|
addConfigurationError, endBuilding, ensureStillBuilding, getConfigurationErrors |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LookupField()
LookupField
class.
public LookupField(java.lang.String name, java.lang.String viewFieldName)
LookupField
class with the given
local SData and referenced Accpac names.
name
- the SData name of the looked up fieldviewFieldName
- the internal (Accpac field) name in the related resourceMethod Detail |
---|
public java.lang.String getName()
public java.lang.String getViewFieldName()
public void setName(java.lang.String name)
name
- the SData name by which the field will be knownpublic void setViewFieldName(java.lang.String name)
name
- the internal Accpac name of the field to be looked upprotected void onEndBuilding()
JiBXConfigurationAbstractResource.addConfigurationError(java.lang.String)
during
this call.
onEndBuilding
in class JiBXConfigurationAbstractResource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |