public class CSUserProfileContent extends CSObjectContent
CSUserProfile
object.
CSUserProfile
,
Serialized FormConstructor and Description |
---|
CSUserProfileContent()
Creates an empty
CSUserProfileContent object. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates a duplicate of this
CSUserProfileContent object. |
CSItemContent |
createInstance()
Creates a new
CSUserProfileContent object and returns it as a CSItemContent , its
super class. |
boolean |
equals(java.lang.Object obj)
Determines whether the data contained in this
CSUserProfileContent object is the same as that
contained within the one supplied. |
java.lang.String |
getUpdatedBy()
Gets the name of the user or function that is updating the user profile.
|
int |
getUserID()
Gets the ID of the user.
|
java.lang.String |
getUserName()
Gets the name of the user.
|
void |
setUpdatedBy(java.lang.String strUpdatedBy)
Sets the name of the user or function that is updating the user profile.
|
void |
setUserID(int nUserID)
Sets the ID of the user.
|
void |
setUserName(java.lang.String strUserName)
Sets the name of the user.
|
java.lang.String |
toString()
Outputs the contents of this
CSUserProfileContent object to a String object in a
user-friendly format. |
addEmptyObjectToObjectData, existsItem, getCreatedBy, getDateCreated, getDateLastUpdated, getItem, getLabel, getLastUpdatedBy, getObjectData, getObjectID, getType, getUpdatedLabel, setCreatedBy, setDateCreated, setDateLastUpdated, setItem, setLabel, setLastUpdatedBy, setObjectData, setObjectID, setType, setUpdatedLabel
getID, setID, unset
public CSUserProfileContent()
CSUserProfileContent
object.public void setUserID(int nUserID)
Note that this is actually used as the label of the underlying object (CSObject
) so that a user's login
details can readily be linked with the corresponding profile details.
nUserID
- the numeric identifier of the user.public int getUserID()
Note that this is actually stored as the label of the underlying object (CSObject
).
public void setUserName(java.lang.String strUserName)
strUserName
- the user's name.public java.lang.String getUserName()
public void setUpdatedBy(java.lang.String strUpdatedBy)
strUpdatedBy
- the user's or function's name.public java.lang.String getUpdatedBy()
public CSItemContent createInstance()
CSUserProfileContent
object and returns it as a CSItemContent
, its
super class. This is used by the clone
method in CSItemContent
.
CSUserProfileContent
object.public boolean equals(java.lang.Object obj)
CSUserProfileContent
object is the same as that
contained within the one supplied.
equals
in class CSObjectContent
obj
- The CSUserProfileContent
object to be tested for equalitytrue
if the data matches, false
otherwise.public java.lang.Object clone() throws java.lang.CloneNotSupportedException, java.lang.OutOfMemoryError
CSUserProfileContent
object.
clone
in class CSItemContent
CSUserProfileContent
objectjava.lang.CloneNotSupportedException
- Thrown if cloning is not supported/allowedjava.lang.OutOfMemoryError
- Thrown if there are any problems allocating memorypublic java.lang.String toString()
CSUserProfileContent
object to a String
object in a
user-friendly format.
toString
in class CSObjectContent
String
containing the user-friendly output.Copyright © 2022 Goss Interactive Ltd. All Rights Reserved.