|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.orion.sdata.servlet.ResourceField
com.sage.orion.sdata.servlet.accpac.OptionalResourceField
public final class OptionalResourceField
A ResourceField reflecting a custom or optional field in a view
Constructor Summary | |
---|---|
OptionalResourceField(SDataView mainView,
com.sage.accpac.sm.View detail,
com.sage.orion.sdata.servlet.accpac.OptionalFieldsMaster master)
constructs an OptionalResourceField from the current record of the application's optional fields details |
Method Summary | |
---|---|
boolean |
allowsNull()
returns whether or not the field allows null values |
java.lang.String |
getDefaultValue()
returns the default value for the field |
java.lang.String |
getInternalName()
gets the name of the field, as see from the Accpac side |
com.sage.orion.sdata.servlet.accpac.OptionalFieldType |
getType()
returns the type of the field |
boolean |
isSetInitially()
returns whether the field is supposed to be set to the default value automatically. |
boolean |
isSetRequired()
returns whether the field is required. |
boolean |
isValidated()
returns whether or not the field has validation switched on |
Methods inherited from class com.sage.orion.sdata.servlet.ResourceField |
---|
equals, getDescription, getName, hashCode, setDescription, setName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OptionalResourceField(SDataView mainView, com.sage.accpac.sm.View detail, com.sage.orion.sdata.servlet.accpac.OptionalFieldsMaster master)
mainView
- the main view that this is an optional or custom field ondetail
- The application optional field detail recordmaster
- The master list of optional fieldsMethod Detail |
---|
public boolean allowsNull()
public java.lang.String getDefaultValue()
public com.sage.orion.sdata.servlet.accpac.OptionalFieldType getType()
public boolean isValidated()
public boolean isSetInitially()
public boolean isSetRequired()
public java.lang.String getInternalName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |