|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.bowstreet.profiles.NamedObject
com.bowstreet.profiles.ProfileDefEntry
public class ProfileDefEntry
Class that represents a single Entry from within a ProfileDef. The ProfileDefEntry contains metadata about ProfileValues that are stored within a Profile.
| Field Summary |
|---|
| Fields inherited from interface com.bowstreet.profiles.IProfileDefines |
|---|
CURRENT_CUSTOM_VALUE_PSET, CUSTOM_VALUE_MAP_KEY, DEFAULT, DESCRIPTION, EDIT_STATUS, EDITABLE, EFFECTS_CHILD, emptyIterator, ENTRIES, ENTRY, EXTRA_DATA, FALSE, FINAL_LOCKED, FINAL_LOCKED_STR, INHERITED_FROM, INHERITED_LOCKED, INHERITED_LOCKED_STR, IS_CONTAINER, IS_FINAL, IS_INHERITED, IS_RUNTIME, LAST_MODIFIED, LAST_MODIFIED_BY, MODEL, MODELS, NAME, PARENT, PC_ALREADY_CONVERTED, PC_INVALID_DATA, PC_NO_PROFILE, PC_OK, PROFILE, PROFILE_ATTR, PROFILE_DEF, PROFILE_SET, PROFILE_SET_MAP_PREVIEW_KEY, PROFILED, PROFILES, PROMPT, ROLE, ROLE_SELECTION_CLASS, ROLES, TRUE, TYPE, UI, USE_FULL_NAMES, VALUE, VALUE_CLASS, VALUES |
| Constructor Summary | |
|---|---|
ProfileDefEntry()
Empty constructor. |
|
ProfileDefEntry(IXml tdEntry)
Constructs ProfileDefEntry from IXml. |
|
ProfileDefEntry(java.lang.String strName,
java.lang.String strType,
java.lang.String strPrompt,
java.lang.String strExtraData)
Constructs a ProfileDefEntry and sets its data members with the specified values. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Compare two ProfileDefEntry's. |
IXml |
getAsIXml(boolean getAll)
Gets the entire ProfileDefEntry as IXml. |
java.lang.String |
getUIExtraData()
Gets the optional extra data that in associated with the UI type. |
java.lang.String |
getUIPrompt()
Gets the display prompt of this ProfileDefEntry. |
java.lang.String |
getUIType()
Gets the UI type of this ProfileDefEntry. |
boolean |
isRuntime()
Checks if this entry is used for runtime data. |
void |
setFromIXml(IXml tdEntry)
Sets the entire ProfileDefEntry from a IXml. |
void |
setIsRuntime(boolean isRuntime)
Sets if this entry is to be used for runtime data. |
void |
setUIExtraData(java.lang.String strExtraData)
Sets the optional extra data that in associated with the UI type. |
void |
setUIPrompt(java.lang.String strPrompt)
Sets the display prompt of this ProfileDefEntry. |
void |
setUIType(java.lang.String strType)
Sets the UI type of this ProfileDefEntry. |
void |
update(com.bowstreet.profiles.IXmlDataAccess item)
Updates data members from an existing ProfileDefEntry. |
| Methods inherited from class com.bowstreet.profiles.NamedObject |
|---|
clone, getName, setName |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProfileDefEntry()
public ProfileDefEntry(IXml tdEntry)
throws ProfileException
tdEntry - The XML representation of a ProfileDefEntry.
ProfileException - On error.
public ProfileDefEntry(java.lang.String strName,
java.lang.String strType,
java.lang.String strPrompt,
java.lang.String strExtraData)
strName - The Name, which must be unique within this ProfileSet.strType - The UI Type.strPrompt - The display prompt.strExtraData - The extra data.| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class NamedObjectobj - The ProfileDefEntry to compare against.
public IXml getAsIXml(boolean getAll)
throws ProfileException
getAsIXml in interface com.bowstreet.profiles.IXmlDataAccessgetAll - specifies if all of the data should be returned. This has no effect on a ProfileDefEntry.
ProfileException - On error.IXmlpublic java.lang.String getUIExtraData()
public java.lang.String getUIPrompt()
public java.lang.String getUIType()
public boolean isRuntime()
public void setFromIXml(IXml tdEntry)
throws ProfileException
setFromIXml in interface com.bowstreet.profiles.IXmlDataAccesstdEntry - The IXml representation of a ProfileDefEntry.
ProfileException - On error.IXmlpublic void setIsRuntime(boolean isRuntime)
isRuntime - true if this entry is specified to be used as runtime profile data, else false.public void setUIExtraData(java.lang.String strExtraData)
strExtraData - The extra data.public void setUIPrompt(java.lang.String strPrompt)
strPrompt - The display prompt.public void setUIType(java.lang.String strType)
strType - The UI Type.public void update(com.bowstreet.profiles.IXmlDataAccess item)
update in interface com.bowstreet.profiles.IXmlDataAccessupdate in class NamedObjectitem - The IXmlDataAccess, which must be a ProfileDefEntry.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||