Class Achievement
- All Implemented Interfaces:
Model
,java.io.Serializable
public class Achievement
extends com.onenetwork.platform.common.Model
implements java.io.Serializable
Java class for Achievement complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Achievement"> <complexContent> <extension base="{http://www.onenetwork.com/Platform}Model"> <sequence> <element name="ActionExecTime" type="{http://www.onenetwork.com/Platform}DateTime" minOccurs="0"/> <element name="ActionName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="InputRefId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Error" type="{http://www.onenetwork.com/Platform}Error" minOccurs="0"/> <element name="CreationUser" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="CreationDate" type="{http://www.onenetwork.com/Platform}DateTime" minOccurs="0"/> <element name="LastModifiedUser" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="LastModifiedDate" type="{http://www.onenetwork.com/Platform}DateTime" minOccurs="0"/> <element name="LevelModifiedDate" type="{http://www.onenetwork.com/Platform}DateTime" minOccurs="0"/> <element name="ValueChainId" type="{http://www.w3.org/2001/XMLSchema}long"/> <element name="ID" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> <element name="AchievementConfigName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="AchievementConfigOwningOrgName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="AchievementConfigOwningOrgEnterpriseName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="UserName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="UserEnterpriseName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="StartDate" type="{http://www.onenetwork.com/Platform}LocalDateTime" minOccurs="0"/> <element name="Value" type="{http://www.onenetwork.com/Platform}NullableDouble" minOccurs="0"/> <element name="BronzeTarget" type="{http://www.onenetwork.com/Platform}NullableDouble" minOccurs="0"/> <element name="SilverTarget" type="{http://www.onenetwork.com/Platform}NullableDouble" minOccurs="0"/> <element name="GoldTarget" type="{http://www.onenetwork.com/Platform}NullableDouble" minOccurs="0"/> <element name="Achieved" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Udfs" type="{http://www.onenetwork.com/Platform}NameValuePairList" minOccurs="0"/> <element name="Issue" type="{http://www.onenetwork.com/Platform}Issue" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.onenetwork.com/Platform}MDFs" maxOccurs="unbounded" minOccurs="0"/> <element name="Attribute" type="{http://www.onenetwork.com/Platform}AttributeValue" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
achieved
protected java.lang.String
achievementConfigName
protected java.lang.String
achievementConfigOwningOrgEnterpriseName
protected java.lang.String
achievementConfigOwningOrgName
protected java.util.Calendar
actionExecTime
protected java.lang.String
actionName
protected java.util.List<AttributeValue>
attributes
protected java.lang.Double
bronzeTarget
protected java.util.Calendar
creationDate
protected java.lang.String
creationUser
protected StatusMessage
error
protected java.lang.Double
goldTarget
protected java.lang.Long
id
protected java.lang.String
inputRefId
protected java.util.List<Issue>
issues
protected java.util.Calendar
lastModifiedDate
protected java.lang.String
lastModifiedUser
protected java.util.Calendar
levelModifiedDate
protected java.util.List<javax.xml.bind.JAXBElement<? extends com.onenetwork.platform.common.MDFs>>
mdFsList
static com.onenetwork.platform.data.model.impl.ModelLevelType
MODEL_LEVEL_TYPE
Constant reference to the ModelLevelType for this JAXB.static com.onenetwork.platform.data.model.impl.ModelType
MODEL_TYPE
Constant reference to the ModelType for this JAXB.protected java.lang.Double
silverTarget
static java.lang.String
STANDARD_MODEL_NAME
Constant reference to the standard model name for this JAXB.protected java.util.Calendar
startDate
protected java.lang.Long
sysAchievementConfigId
protected java.lang.Long
sysUserId
protected com.onenetwork.platform.common.NameValuePairList
udfs
protected java.lang.String
userEnterpriseName
protected java.lang.String
userName
protected java.lang.Double
value
protected long
valueChainId
-
Constructor Summary
Constructors Constructor Description Achievement()
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
A Model object is considered "equal" to another Model object if it is a Model of the same type and its Natural Key fields are identical.java.lang.String
getAchieved()
Gets the value of the achieved property.java.lang.String
getAchievementConfigName()
Gets the value of the achievementConfigName property.java.lang.String
getAchievementConfigOwningOrgEnterpriseName()
Gets the value of the achievementConfigOwningOrgEnterpriseName property.java.lang.String
getAchievementConfigOwningOrgName()
Gets the value of the achievementConfigOwningOrgName property.java.util.Calendar
getActionExecTime()
Gets the value of the actionExecTime property.java.lang.String
getActionName()
Gets the value of the actionName property.java.util.List<AttributeValue>
getAttributes()
Gets the value of the attributes property.double
getBronzeTarget()
java.util.Calendar
getCreationDate()
Gets the value of the creationDate property.java.lang.String
getCreationUser()
Gets the value of the creationUser property.StatusMessage
getError()
Gets the value of the error property.double
getGoldTarget()
long
getID()
java.lang.String
getInputRefId()
Gets the value of the inputRefId property.java.util.List<Issue>
getIssues()
Gets the value of the issues property.java.util.Calendar
getLastModifiedDate()
Gets the value of the lastModifiedDate property.java.lang.String
getLastModifiedUser()
Gets the value of the lastModifiedUser property.java.util.Calendar
getLevelModifiedDate()
Gets the value of the levelModifiedDate property.java.util.List<javax.xml.bind.JAXBElement<? extends com.onenetwork.platform.common.MDFs>>
getMDFsList()
Gets the value of the mdFsList property.com.onenetwork.platform.data.model.impl.ModelLevelType
getModelLevelType()
methods to get ModelLevelType for this JAXB.com.onenetwork.platform.data.model.impl.ModelType
getModelType()
methods to get ModelType for this JAXB.double
getSilverTarget()
java.lang.String
getStandardModelName()
method to get standard model name for this JAXB.java.util.Calendar
getStartDate()
Gets the value of the startDate property.java.lang.Long
getSysAchievementConfigId()
Returns the surrogate id value for SysAchievementConfigId.java.lang.Long
getSysUserId()
Returns the surrogate id value for SysUserId.com.onenetwork.platform.common.NameValuePairList
getUdfs()
Gets the value of the udfs property.java.lang.String
getUserEnterpriseName()
Gets the value of the userEnterpriseName property.java.lang.String
getUserName()
Gets the value of the userName property.double
getValue()
long
getValueChainId()
Gets the value of the valueChainId property.int
hashCode()
protected java.lang.String
internalToString()
boolean
isSetAchieved()
boolean
isSetAchievementConfigName()
boolean
isSetAchievementConfigOwningOrgEnterpriseName()
boolean
isSetAchievementConfigOwningOrgName()
boolean
isSetActionExecTime()
boolean
isSetActionName()
boolean
isSetAttributes()
boolean
isSetBronzeTarget()
boolean
isSetCreationDate()
boolean
isSetCreationUser()
boolean
isSetError()
boolean
isSetGoldTarget()
boolean
isSetID()
boolean
isSetInputRefId()
boolean
isSetIssues()
boolean
isSetLastModifiedDate()
boolean
isSetLastModifiedUser()
boolean
isSetLevelModifiedDate()
boolean
isSetMDFsList()
boolean
isSetSilverTarget()
boolean
isSetStartDate()
boolean
isSetUdfs()
boolean
isSetUserEnterpriseName()
boolean
isSetUserName()
boolean
isSetValue()
boolean
isSetValueChainId()
com.onenetwork.platform.common.Issue
issueOff(java.lang.String issueName)
Utility method to create an issue and set it on JAXBcom.onenetwork.platform.common.Issue
issueOn(java.lang.String issueName, IssueSeverity issueSeverity)
Utility method to create an issue and set it on JAXBvoid
setAchieved(java.lang.String value)
Sets the value of the achieved property.void
setAchievementConfigName(java.lang.String value)
Sets the value of AchievementConfigName, and also nullifies the following surrogate ids: SysAchievementConfigId.void
setAchievementConfigOwningOrgEnterpriseName(java.lang.String value)
Sets the value of AchievementConfigOwningOrgEnterpriseName, and also nullifies the following surrogate ids: SysAchievementConfigId.void
setAchievementConfigOwningOrgName(java.lang.String value)
Sets the value of AchievementConfigOwningOrgName, and also nullifies the following surrogate ids: SysAchievementConfigId.void
setActionExecTime(java.util.Calendar value)
Sets the value of the actionExecTime property.void
setActionName(java.lang.String value)
Sets the value of the actionName property.void
setBronzeTarget(double value)
Sets the value of the bronzeTarget property.void
setCreationDate(java.util.Calendar value)
Sets the value of the creationDate property.void
setCreationUser(java.lang.String value)
Sets the value of the creationUser property.void
setError(StatusMessage value)
Sets the value of the error property.void
setGoldTarget(double value)
Sets the value of the goldTarget property.void
setID(long value)
Sets the value of the id property.void
setInputRefId(java.lang.String value)
Sets the value of the inputRefId property.void
setLastModifiedDate(java.util.Calendar value)
Sets the value of the lastModifiedDate property.void
setLastModifiedUser(java.lang.String value)
Sets the value of the lastModifiedUser property.void
setLevelModifiedDate(java.util.Calendar value)
Sets the value of the levelModifiedDate property.void
setSilverTarget(double value)
Sets the value of the silverTarget property.void
setStartDate(java.util.Calendar value)
Sets the value of the startDate property.void
setSysAchievementConfigId(java.lang.Long value, boolean nullifyNaturalKeys)
Sets the surrogate id value for SysAchievementConfigId.void
setSysUserId(java.lang.Long value, boolean nullifyNaturalKeys)
Sets the surrogate id value for SysUserId.void
setUdfs(com.onenetwork.platform.common.NameValuePairList value)
Sets the value of the udfs property.void
setUserEnterpriseName(java.lang.String value)
Sets the value of UserEnterpriseName, and also nullifies the following surrogate ids: SysUserId.void
setUserName(java.lang.String value)
Sets the value of UserName, and also nullifies the following surrogate ids: SysUserId.void
setValue(double value)
Sets the value of the value property.void
setValueChainId(long value)
Sets the value of the valueChainId property.java.lang.String
toStrContrib()
Not intended for use by Clientsvoid
unsetAttributes()
void
unsetBronzeTarget()
void
unsetGoldTarget()
void
unsetID()
void
unsetIssues()
void
unsetMDFsList()
void
unsetSilverTarget()
void
unsetValue()
Methods inherited from class com.onenetwork.platform.common.Model
addWarning, copyTransientFields, diff, enableKeyCoordination, fromJSONObject, getAttribute, getAttributeValue, getMDF, getMDFs, getMDFs, getRider, getRider, getRiders, getSysId, getTransientField, getTransientFields, getUdf, getUdfNames, getUdfs, getWarnings, setAttribute, setError, setMDF, setSysId, setTransientField, setUdf, toJSONObject, toJSONObject, toJSONObjectExternal, toJSONObjectFullySerialized, toString, toXML
-
Field Details
-
actionExecTime
protected java.util.Calendar actionExecTime -
actionName
protected java.lang.String actionName -
inputRefId
protected java.lang.String inputRefId -
error
-
creationUser
protected java.lang.String creationUser -
creationDate
protected java.util.Calendar creationDate -
lastModifiedUser
protected java.lang.String lastModifiedUser -
lastModifiedDate
protected java.util.Calendar lastModifiedDate -
levelModifiedDate
protected java.util.Calendar levelModifiedDate -
valueChainId
protected long valueChainId -
id
protected java.lang.Long id -
achievementConfigName
protected java.lang.String achievementConfigName -
achievementConfigOwningOrgName
protected java.lang.String achievementConfigOwningOrgName -
achievementConfigOwningOrgEnterpriseName
protected java.lang.String achievementConfigOwningOrgEnterpriseName -
userName
protected java.lang.String userName -
userEnterpriseName
protected java.lang.String userEnterpriseName -
startDate
protected java.util.Calendar startDate -
value
protected java.lang.Double value -
bronzeTarget
protected java.lang.Double bronzeTarget -
silverTarget
protected java.lang.Double silverTarget -
goldTarget
protected java.lang.Double goldTarget -
achieved
protected java.lang.String achieved -
udfs
protected com.onenetwork.platform.common.NameValuePairList udfs -
issues
-
mdFsList
protected java.util.List<javax.xml.bind.JAXBElement<? extends com.onenetwork.platform.common.MDFs>> mdFsList -
attributes
-
MODEL_TYPE
public static final com.onenetwork.platform.data.model.impl.ModelType MODEL_TYPEConstant reference to the ModelType for this JAXB. -
MODEL_LEVEL_TYPE
public static final com.onenetwork.platform.data.model.impl.ModelLevelType MODEL_LEVEL_TYPEConstant reference to the ModelLevelType for this JAXB. -
STANDARD_MODEL_NAME
public static final java.lang.String STANDARD_MODEL_NAMEConstant reference to the standard model name for this JAXB. -
sysAchievementConfigId
protected java.lang.Long sysAchievementConfigId -
sysUserId
protected java.lang.Long sysUserId
-
-
Constructor Details
-
Achievement
public Achievement()
-
-
Method Details
-
getActionExecTime
public java.util.Calendar getActionExecTime()Gets the value of the actionExecTime property.- Returns:
- possible object is
String
-
setActionExecTime
public void setActionExecTime(java.util.Calendar value)Sets the value of the actionExecTime property.- Parameters:
value
- allowed object isString
-
isSetActionExecTime
public boolean isSetActionExecTime() -
getActionName
public java.lang.String getActionName()Gets the value of the actionName property.- Overrides:
getActionName
in classcom.onenetwork.platform.common.Model
- Returns:
- possible object is
String
-
setActionName
public void setActionName(java.lang.String value)Sets the value of the actionName property.- Overrides:
setActionName
in classcom.onenetwork.platform.common.Model
- Parameters:
value
- allowed object isString
-
isSetActionName
public boolean isSetActionName() -
getInputRefId
public java.lang.String getInputRefId()Gets the value of the inputRefId property.- Returns:
- possible object is
String
-
setInputRefId
public void setInputRefId(java.lang.String value)Sets the value of the inputRefId property.- Parameters:
value
- allowed object isString
-
isSetInputRefId
public boolean isSetInputRefId() -
getError
Gets the value of the error property. -
setError
Sets the value of the error property. -
isSetError
public boolean isSetError() -
getCreationUser
public java.lang.String getCreationUser()Gets the value of the creationUser property.- Returns:
- possible object is
String
-
setCreationUser
public void setCreationUser(java.lang.String value)Sets the value of the creationUser property.- Parameters:
value
- allowed object isString
-
isSetCreationUser
public boolean isSetCreationUser() -
getCreationDate
public java.util.Calendar getCreationDate()Gets the value of the creationDate property.- Returns:
- possible object is
String
-
setCreationDate
public void setCreationDate(java.util.Calendar value)Sets the value of the creationDate property.- Parameters:
value
- allowed object isString
-
isSetCreationDate
public boolean isSetCreationDate() -
getLastModifiedUser
public java.lang.String getLastModifiedUser()Gets the value of the lastModifiedUser property.- Specified by:
getLastModifiedUser
in interfaceModel
- Overrides:
getLastModifiedUser
in classcom.onenetwork.platform.common.Model
- Returns:
- possible object is
String
-
setLastModifiedUser
public void setLastModifiedUser(java.lang.String value)Sets the value of the lastModifiedUser property.- Specified by:
setLastModifiedUser
in interfaceModel
- Overrides:
setLastModifiedUser
in classcom.onenetwork.platform.common.Model
- Parameters:
value
- allowed object isString
-
isSetLastModifiedUser
public boolean isSetLastModifiedUser() -
getLastModifiedDate
public java.util.Calendar getLastModifiedDate()Gets the value of the lastModifiedDate property.- Specified by:
getLastModifiedDate
in interfaceModel
- Overrides:
getLastModifiedDate
in classcom.onenetwork.platform.common.Model
- Returns:
- possible object is
String
-
setLastModifiedDate
public void setLastModifiedDate(java.util.Calendar value)Sets the value of the lastModifiedDate property.- Specified by:
setLastModifiedDate
in interfaceModel
- Overrides:
setLastModifiedDate
in classcom.onenetwork.platform.common.Model
- Parameters:
value
- allowed object isString
-
isSetLastModifiedDate
public boolean isSetLastModifiedDate() -
getLevelModifiedDate
public java.util.Calendar getLevelModifiedDate()Gets the value of the levelModifiedDate property.- Returns:
- possible object is
String
-
setLevelModifiedDate
public void setLevelModifiedDate(java.util.Calendar value)Sets the value of the levelModifiedDate property.- Parameters:
value
- allowed object isString
-
isSetLevelModifiedDate
public boolean isSetLevelModifiedDate() -
getValueChainId
public long getValueChainId()Gets the value of the valueChainId property. -
setValueChainId
public void setValueChainId(long value)Sets the value of the valueChainId property. -
isSetValueChainId
public boolean isSetValueChainId() -
setID
public void setID(long value)Sets the value of the id property.- Parameters:
value
- allowed object isLong
-
isSetID
public boolean isSetID() -
getAchievementConfigName
public java.lang.String getAchievementConfigName()Gets the value of the achievementConfigName property.- Returns:
- possible object is
String
-
isSetAchievementConfigName
public boolean isSetAchievementConfigName() -
getAchievementConfigOwningOrgName
public java.lang.String getAchievementConfigOwningOrgName()Gets the value of the achievementConfigOwningOrgName property.- Returns:
- possible object is
String
-
isSetAchievementConfigOwningOrgName
public boolean isSetAchievementConfigOwningOrgName() -
getAchievementConfigOwningOrgEnterpriseName
public java.lang.String getAchievementConfigOwningOrgEnterpriseName()Gets the value of the achievementConfigOwningOrgEnterpriseName property.- Returns:
- possible object is
String
-
isSetAchievementConfigOwningOrgEnterpriseName
public boolean isSetAchievementConfigOwningOrgEnterpriseName() -
getUserName
public java.lang.String getUserName()Gets the value of the userName property.- Returns:
- possible object is
String
-
isSetUserName
public boolean isSetUserName() -
getUserEnterpriseName
public java.lang.String getUserEnterpriseName()Gets the value of the userEnterpriseName property.- Returns:
- possible object is
String
-
isSetUserEnterpriseName
public boolean isSetUserEnterpriseName() -
getStartDate
public java.util.Calendar getStartDate()Gets the value of the startDate property.- Returns:
- possible object is
String
-
setStartDate
public void setStartDate(java.util.Calendar value)Sets the value of the startDate property.- Parameters:
value
- allowed object isString
-
isSetStartDate
public boolean isSetStartDate() -
setValue
public void setValue(double value)Sets the value of the value property.- Parameters:
value
- allowed object isString
-
isSetValue
public boolean isSetValue() -
setBronzeTarget
public void setBronzeTarget(double value)Sets the value of the bronzeTarget property.- Parameters:
value
- allowed object isString
-
isSetBronzeTarget
public boolean isSetBronzeTarget() -
setSilverTarget
public void setSilverTarget(double value)Sets the value of the silverTarget property.- Parameters:
value
- allowed object isString
-
isSetSilverTarget
public boolean isSetSilverTarget() -
setGoldTarget
public void setGoldTarget(double value)Sets the value of the goldTarget property.- Parameters:
value
- allowed object isString
-
isSetGoldTarget
public boolean isSetGoldTarget() -
getAchieved
public java.lang.String getAchieved()Gets the value of the achieved property.- Returns:
- possible object is
String
-
setAchieved
public void setAchieved(java.lang.String value)Sets the value of the achieved property.- Parameters:
value
- allowed object isString
-
isSetAchieved
public boolean isSetAchieved() -
getUdfs
public com.onenetwork.platform.common.NameValuePairList getUdfs()Gets the value of the udfs property.- Overrides:
getUdfs
in classcom.onenetwork.platform.common.Model
- Returns:
- possible object is
NameValuePairList
-
setUdfs
public void setUdfs(com.onenetwork.platform.common.NameValuePairList value)Sets the value of the udfs property.- Overrides:
setUdfs
in classcom.onenetwork.platform.common.Model
- Parameters:
value
- allowed object isNameValuePairList
-
isSetUdfs
public boolean isSetUdfs()- Overrides:
isSetUdfs
in classcom.onenetwork.platform.common.Model
-
getIssues
Gets the value of the issues property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the issues property.For example, to add a new item, do as follows:
getIssues().add(newItem);
Objects of the following type(s) are allowed in the list
Issue
-
isSetIssues
public boolean isSetIssues() -
unsetIssues
public void unsetIssues() -
getMDFsList
public java.util.List<javax.xml.bind.JAXBElement<? extends com.onenetwork.platform.common.MDFs>> getMDFsList()Gets the value of the mdFsList property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the mdFsList property.For example, to add a new item, do as follows:
getMDFsList().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement
<
DummyMDFs
>
JAXBElement
<
MDFs
>
- Overrides:
getMDFsList
in classcom.onenetwork.platform.common.Model
-
isSetMDFsList
public boolean isSetMDFsList() -
unsetMDFsList
public void unsetMDFsList() -
getAttributes
Gets the value of the attributes property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the attributes property.For example, to add a new item, do as follows:
getAttributes().add(newItem);
Objects of the following type(s) are allowed in the list
AttributeValue
- Overrides:
getAttributes
in classcom.onenetwork.platform.common.Model
-
isSetAttributes
public boolean isSetAttributes() -
unsetAttributes
public void unsetAttributes() -
setAchievementConfigName
public void setAchievementConfigName(java.lang.String value)Sets the value of AchievementConfigName, and also nullifies the following surrogate ids: SysAchievementConfigId. This nullification is done to ensure that a client can set either natural keys or sys id as desired. If you as a client wish to populate *both* natural and surrogate ids, you should set the natural keys first, then set the surrogate ids passing 'false' as the second parameter- Parameters:
value
- new value for AchievementConfigName - the following will also be nullified: SysAchievementConfigId
-
setAchievementConfigOwningOrgName
public void setAchievementConfigOwningOrgName(java.lang.String value)Sets the value of AchievementConfigOwningOrgName, and also nullifies the following surrogate ids: SysAchievementConfigId. This nullification is done to ensure that a client can set either natural keys or sys id as desired. If you as a client wish to populate *both* natural and surrogate ids, you should set the natural keys first, then set the surrogate ids passing 'false' as the second parameter- Parameters:
value
- new value for AchievementConfigOwningOrgName - the following will also be nullified: SysAchievementConfigId
-
setAchievementConfigOwningOrgEnterpriseName
public void setAchievementConfigOwningOrgEnterpriseName(java.lang.String value)Sets the value of AchievementConfigOwningOrgEnterpriseName, and also nullifies the following surrogate ids: SysAchievementConfigId. This nullification is done to ensure that a client can set either natural keys or sys id as desired. If you as a client wish to populate *both* natural and surrogate ids, you should set the natural keys first, then set the surrogate ids passing 'false' as the second parameter- Parameters:
value
- new value for AchievementConfigOwningOrgEnterpriseName - the following will also be nullified: SysAchievementConfigId
-
setUserName
public void setUserName(java.lang.String value)Sets the value of UserName, and also nullifies the following surrogate ids: SysUserId. This nullification is done to ensure that a client can set either natural keys or sys id as desired. If you as a client wish to populate *both* natural and surrogate ids, you should set the natural keys first, then set the surrogate ids passing 'false' as the second parameter- Parameters:
value
- new value for UserName - the following will also be nullified: SysUserId
-
setUserEnterpriseName
public void setUserEnterpriseName(java.lang.String value)Sets the value of UserEnterpriseName, and also nullifies the following surrogate ids: SysUserId. This nullification is done to ensure that a client can set either natural keys or sys id as desired. If you as a client wish to populate *both* natural and surrogate ids, you should set the natural keys first, then set the surrogate ids passing 'false' as the second parameter- Parameters:
value
- new value for UserEnterpriseName - the following will also be nullified: SysUserId
-
getID
public long getID() -
unsetID
public void unsetID() -
getValue
public double getValue() -
unsetValue
public void unsetValue() -
getBronzeTarget
public double getBronzeTarget() -
unsetBronzeTarget
public void unsetBronzeTarget() -
getSilverTarget
public double getSilverTarget() -
unsetSilverTarget
public void unsetSilverTarget() -
getGoldTarget
public double getGoldTarget() -
unsetGoldTarget
public void unsetGoldTarget() -
issueOn
public com.onenetwork.platform.common.Issue issueOn(java.lang.String issueName, IssueSeverity issueSeverity)Utility method to create an issue and set it on JAXB -
issueOff
public com.onenetwork.platform.common.Issue issueOff(java.lang.String issueName)Utility method to create an issue and set it on JAXB -
equals
public boolean equals(java.lang.Object obj)Description copied from interface:Model
A Model object is considered "equal" to another Model object if it is a Model of the same type and its Natural Key fields are identical. -
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
internalToString
protected java.lang.String internalToString()- Overrides:
internalToString
in classcom.onenetwork.platform.common.Model
-
toStrContrib
public java.lang.String toStrContrib()Not intended for use by Clients -
getModelType
public com.onenetwork.platform.data.model.impl.ModelType getModelType()methods to get ModelType for this JAXB.- Overrides:
getModelType
in classcom.onenetwork.platform.common.Model
-
getModelLevelType
public com.onenetwork.platform.data.model.impl.ModelLevelType getModelLevelType()methods to get ModelLevelType for this JAXB.- Overrides:
getModelLevelType
in classcom.onenetwork.platform.common.Model
-
getStandardModelName
public java.lang.String getStandardModelName()method to get standard model name for this JAXB.- Overrides:
getStandardModelName
in classcom.onenetwork.platform.common.Model
-
getSysAchievementConfigId
public java.lang.Long getSysAchievementConfigId()Returns the surrogate id value for SysAchievementConfigId. After reading a model, this will always match with the corresponding natural keys, which are: achievementConfigName, achievementConfigOwningOrgName, achievementConfigOwningOrgEnterpriseName -
setSysAchievementConfigId
public void setSysAchievementConfigId(java.lang.Long value, boolean nullifyNaturalKeys)Sets the surrogate id value for SysAchievementConfigId. As a client, when you want to update the model in the database, you may set values either by natural key or by sys id, or by both. Calling this method with 'true' will nullify the natural keys for this surrogate key: achievementConfigName, achievementConfigOwningOrgName, achievementConfigOwningOrgEnterpriseName. This ensures the values don't conflict. If you are 'populating' an object and want to set both natural and surrogate keys, you should set the natural keys first, then call this method with 'false' for nullifyNaturalKeys.- Parameters:
value
- new value for SysAchievementConfigIdnullifyNaturalKeys
- true to nullify the related natural keys (achievementConfigName, achievementConfigOwningOrgName, achievementConfigOwningOrgEnterpriseName), or false to leave as is - please note that you can pass either surrogate id or natural keys to the server write API, or both
-
getSysUserId
public java.lang.Long getSysUserId()Returns the surrogate id value for SysUserId. After reading a model, this will always match with the corresponding natural keys, which are: userName, userEnterpriseName -
setSysUserId
public void setSysUserId(java.lang.Long value, boolean nullifyNaturalKeys)Sets the surrogate id value for SysUserId. As a client, when you want to update the model in the database, you may set values either by natural key or by sys id, or by both. Calling this method with 'true' will nullify the natural keys for this surrogate key: userName, userEnterpriseName. This ensures the values don't conflict. If you are 'populating' an object and want to set both natural and surrogate keys, you should set the natural keys first, then call this method with 'false' for nullifyNaturalKeys.- Parameters:
value
- new value for SysUserIdnullifyNaturalKeys
- true to nullify the related natural keys (userName, userEnterpriseName), or false to leave as is - please note that you can pass either surrogate id or natural keys to the server write API, or both
-