|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bowstreet.profiles.ProfileDef
public class ProfileDef
Class that represents a single ProfileDef from within a ProfileSet
ProfileDefEntry
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 | |
---|---|
ProfileDef()
|
|
ProfileDef(IXml tdProfileDef)
|
Method Summary | |
---|---|
void |
addEntry(ProfileDefEntry entry)
Adds a ProfileDefEntry to this ProfileDef. |
java.lang.Object |
clone()
Creates and returns a copy of this ProfileDef object. |
boolean |
equals(java.lang.Object obj)
Compare two ProfileDef's. |
IXml |
getAsIXml()
Gets the entire ProfileDef as IXml. |
java.util.Iterator |
getEntries()
Gets an Iterator to all of the the ProfileDefEntry objects. |
ProfileDefEntry |
getEntry(java.lang.String strName)
Gets a specified ProfileDefEntry by name. |
void |
modifyEntry(ProfileDefEntry entry)
modifies an existing ProfileDefEntry. |
void |
removeEntry(java.lang.String strName)
Removes the specified ProfileDefEntry by name. |
void |
setFromIXml(IXml tdProfileDef)
Sets the entire ProfileDef from a IXml. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProfileDef()
public ProfileDef(IXml tdProfileDef) throws ProfileException
ProfileException
Method Detail |
---|
public void addEntry(ProfileDefEntry entry) throws ProfileException
entry
- The ProfileDefEntry to add.
ProfileException
- if duplicate name in entry.ProfileDefEntry
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- The ProfileDef to compare against.
public IXml getAsIXml() throws ProfileException
ProfileException
IXml
public java.util.Iterator getEntries()
ProfileDefEntry
public ProfileDefEntry getEntry(java.lang.String strName)
strName
- The name of the ProfileDefEntry to get.
ProfileDefEntry
public void modifyEntry(ProfileDefEntry entry) throws ProfileException
entry
- The ProfileDefEntry to modify or add.
ProfileException
ProfileDefEntry
public void removeEntry(java.lang.String strName)
strName
- The name of the ProfileDefEntry to remove.ProfileDefEntry
public void setFromIXml(IXml tdProfileDef) throws ProfileException
tdProfileDef
- The IXml representation of a ProfileDef.
ProfileException
IXml
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |