com.bowstreet.profiles
Class NamedObject

java.lang.Object
  extended by com.bowstreet.profiles.NamedObject
All Implemented Interfaces:
IProfileDefines, com.bowstreet.profiles.IXmlDataAccess, java.io.Serializable
Direct Known Subclasses:
Profile, ProfileDefEntry, ProfileSetDescription, ProfileValue

public abstract class NamedObject
extends java.lang.Object
implements com.bowstreet.profiles.IXmlDataAccess, IProfileDefines, java.io.Serializable

Base class for uniquely named profile objects(i.e. ProfileValue, ProfileDefEntry)

See Also:
Serialized Form

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
NamedObject()
           
NamedObject(java.lang.String strName)
           
 
Method Summary
 java.lang.Object clone()
          Creates and returns a copy of this object.
 boolean equals(java.lang.Object obj)
          Compare the names of two NamedObject's
 java.lang.String getName()
          Gets the name of this Object.
 void setName(java.lang.String strName)
          Sets the name of this Object.
 void update(com.bowstreet.profiles.IXmlDataAccess item)
          Updates from an existing NamedObject.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.bowstreet.profiles.IXmlDataAccess
getAsIXml, setFromIXml
 

Constructor Detail

NamedObject

public NamedObject()

NamedObject

public NamedObject(java.lang.String strName)
Method Detail

clone

public java.lang.Object clone()
Creates and returns a copy of this object.

Specified by:
clone in interface com.bowstreet.profiles.IXmlDataAccess
Overrides:
clone in class java.lang.Object
Returns:
A copy of this object.

equals

public boolean equals(java.lang.Object obj)
Compare the names of two NamedObject's

Overrides:
equals in class java.lang.Object
Parameters:
obj - The object to compare this one against.
Returns:
true if the names are equal, else false

getName

public java.lang.String getName()
Gets the name of this Object.

Specified by:
getName in interface com.bowstreet.profiles.IXmlDataAccess
Returns:
The Name.

setName

public void setName(java.lang.String strName)
Sets the name of this Object.

Specified by:
setName in interface com.bowstreet.profiles.IXmlDataAccess
Parameters:
strName - The object name.

update

public void update(com.bowstreet.profiles.IXmlDataAccess item)
Updates from an existing NamedObject.

Specified by:
update in interface com.bowstreet.profiles.IXmlDataAccess
Parameters:
item - The IXmlDataAccess, which must be a NamedObject.


Copyright © 2009 IBM. All Rights Reserved.