Class AchievementConfigUser
- All Implemented Interfaces:
com.onenetwork.platform.common.impl.Child<AchievementConfig>
,Model
,java.io.Serializable
public class AchievementConfigUser extends com.onenetwork.platform.common.Model implements java.io.Serializable, com.onenetwork.platform.common.impl.Child<AchievementConfig>
Java class for AchievementConfigUser complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AchievementConfigUser"> <complexContent> <extension base="{http://www.onenetwork.com/Platform}Model"> <sequence> <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="LevelCreationDate" type="{http://www.onenetwork.com/Platform}DateTime" minOccurs="0"/> <element name="LevelModifiedDate" type="{http://www.onenetwork.com/Platform}DateTime" minOccurs="0"/> <element name="UserName" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="UserEnterpriseName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Allocation" type="{http://www.onenetwork.com/Platform}NullableInteger" minOccurs="0"/> <element name="CreationTemplateName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="CreationTemplateBaseTemplateName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="CreationTemplateBaseTemplateLevelType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="CreationTemplateOwningOrgName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="CreationTemplateOwningOrgEnterpriseName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="CreationTemplateOwningUserName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="CreationTemplateOwningUserEnterpriseName" 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.Integer
allocation
protected java.util.List<AttributeValue>
attributes
protected java.lang.String
creationTemplateBaseTemplateLevelType
protected java.lang.String
creationTemplateBaseTemplateName
protected java.lang.String
creationTemplateName
protected java.lang.String
creationTemplateOwningOrgEnterpriseName
protected java.lang.String
creationTemplateOwningOrgName
protected java.lang.String
creationTemplateOwningUserEnterpriseName
protected java.lang.String
creationTemplateOwningUserName
protected StatusMessage
error
protected java.lang.String
inputRefId
protected java.util.List<Issue>
issues
protected java.util.Calendar
levelCreationDate
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 AchievementConfig
parent
Reference to the parent AchievementConfigstatic java.lang.String
STANDARD_MODEL_NAME
Constant reference to the standard model name for this JAXB.protected java.lang.Long
sysCreationTemplateId
protected java.lang.Long
sysUserId
protected com.onenetwork.platform.common.NameValuePairList
udfs
protected java.lang.String
userEnterpriseName
protected java.lang.String
userName
-
Constructor Summary
Constructors Constructor Description AchievementConfigUser()
-
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.int
getAllocation()
java.util.List<AttributeValue>
getAttributes()
Gets the value of the attributes property.java.lang.String
getCreationTemplateBaseTemplateLevelType()
Gets the value of the creationTemplateBaseTemplateLevelType property.java.lang.String
getCreationTemplateBaseTemplateName()
Gets the value of the creationTemplateBaseTemplateName property.java.lang.String
getCreationTemplateName()
Gets the value of the creationTemplateName property.java.lang.String
getCreationTemplateOwningOrgEnterpriseName()
Gets the value of the creationTemplateOwningOrgEnterpriseName property.java.lang.String
getCreationTemplateOwningOrgName()
Gets the value of the creationTemplateOwningOrgName property.java.lang.String
getCreationTemplateOwningUserEnterpriseName()
Gets the value of the creationTemplateOwningUserEnterpriseName property.java.lang.String
getCreationTemplateOwningUserName()
Gets the value of the creationTemplateOwningUserName property.StatusMessage
getError()
Gets the value of the error property.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
getLevelCreationDate()
Gets the value of the levelCreationDate 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.AchievementConfig
getParent()
Returns the parent AchievementConfig.java.lang.String
getStandardModelName()
method to get standard model name for this JAXB.java.lang.Long
getSysCreationTemplateId()
Returns the surrogate id value for SysCreationTemplateId.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.int
hashCode()
protected java.lang.String
internalToString()
boolean
isSetAllocation()
boolean
isSetAttributes()
boolean
isSetCreationTemplateBaseTemplateLevelType()
boolean
isSetCreationTemplateBaseTemplateName()
boolean
isSetCreationTemplateName()
boolean
isSetCreationTemplateOwningOrgEnterpriseName()
boolean
isSetCreationTemplateOwningOrgName()
boolean
isSetCreationTemplateOwningUserEnterpriseName()
boolean
isSetCreationTemplateOwningUserName()
boolean
isSetError()
boolean
isSetInputRefId()
boolean
isSetIssues()
boolean
isSetLevelCreationDate()
boolean
isSetLevelModifiedDate()
boolean
isSetMDFsList()
boolean
isSetUdfs()
boolean
isSetUserEnterpriseName()
boolean
isSetUserName()
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
setAllocation(int value)
Sets the value of the allocation property.void
setCreationTemplateBaseTemplateLevelType(java.lang.String value)
Sets the value of CreationTemplateBaseTemplateLevelType, and also nullifies the following surrogate ids: SysCreationTemplateId.void
setCreationTemplateBaseTemplateName(java.lang.String value)
Sets the value of CreationTemplateBaseTemplateName, and also nullifies the following surrogate ids: SysCreationTemplateId.void
setCreationTemplateName(java.lang.String value)
Sets the value of CreationTemplateName, and also nullifies the following surrogate ids: SysCreationTemplateId.void
setCreationTemplateOwningOrgEnterpriseName(java.lang.String value)
Sets the value of CreationTemplateOwningOrgEnterpriseName, and also nullifies the following surrogate ids: SysCreationTemplateId.void
setCreationTemplateOwningOrgName(java.lang.String value)
Sets the value of CreationTemplateOwningOrgName, and also nullifies the following surrogate ids: SysCreationTemplateId.void
setCreationTemplateOwningUserEnterpriseName(java.lang.String value)
Sets the value of CreationTemplateOwningUserEnterpriseName, and also nullifies the following surrogate ids: SysCreationTemplateId.void
setCreationTemplateOwningUserName(java.lang.String value)
Sets the value of CreationTemplateOwningUserName, and also nullifies the following surrogate ids: SysCreationTemplateId.void
setError(StatusMessage value)
Sets the value of the error property.void
setInputRefId(java.lang.String value)
Sets the value of the inputRefId property.void
setLevelCreationDate(java.util.Calendar value)
Sets the value of the levelCreationDate property.void
setLevelModifiedDate(java.util.Calendar value)
Sets the value of the levelModifiedDate property.void
setParent(AchievementConfig parent)
Sets the parent AchievementConfig.void
setSysCreationTemplateId(java.lang.Long value, boolean nullifyNaturalKeys)
Sets the surrogate id value for SysCreationTemplateId.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.java.lang.String
toStrContrib()
Not intended for use by Clientsvoid
unsetAllocation()
void
unsetAttributes()
void
unsetIssues()
void
unsetMDFsList()
Methods inherited from class com.onenetwork.platform.common.Model
addWarning, copyTransientFields, diff, enableKeyCoordination, fromJSONObject, getActionName, getAttribute, getAttributeValue, getLastModifiedDate, getLastModifiedUser, getMDF, getMDFs, getMDFs, getRider, getRider, getRiders, getSysId, getTransientField, getTransientFields, getUdf, getUdfNames, getUdfs, getWarnings, setActionName, setAttribute, setError, setLastModifiedDate, setLastModifiedUser, setMDF, setSysId, setTransientField, setUdf, toJSONObject, toJSONObject, toJSONObjectExternal, toJSONObjectFullySerialized, toString, toXML
-
Field Details
-
inputRefId
protected java.lang.String inputRefId -
error
-
levelCreationDate
protected java.util.Calendar levelCreationDate -
levelModifiedDate
protected java.util.Calendar levelModifiedDate -
userName
protected java.lang.String userName -
userEnterpriseName
protected java.lang.String userEnterpriseName -
allocation
protected java.lang.Integer allocation -
creationTemplateName
protected java.lang.String creationTemplateName -
creationTemplateBaseTemplateName
protected java.lang.String creationTemplateBaseTemplateName -
creationTemplateBaseTemplateLevelType
protected java.lang.String creationTemplateBaseTemplateLevelType -
creationTemplateOwningOrgName
protected java.lang.String creationTemplateOwningOrgName -
creationTemplateOwningOrgEnterpriseName
protected java.lang.String creationTemplateOwningOrgEnterpriseName -
creationTemplateOwningUserName
protected java.lang.String creationTemplateOwningUserName -
creationTemplateOwningUserEnterpriseName
protected java.lang.String creationTemplateOwningUserEnterpriseName -
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
-
parent
Reference to the parent AchievementConfig -
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. -
sysUserId
protected java.lang.Long sysUserId -
sysCreationTemplateId
protected java.lang.Long sysCreationTemplateId
-
-
Constructor Details
-
AchievementConfigUser
public AchievementConfigUser()
-
-
Method Details
-
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() -
getLevelCreationDate
public java.util.Calendar getLevelCreationDate()Gets the value of the levelCreationDate property.- Returns:
- possible object is
String
-
setLevelCreationDate
public void setLevelCreationDate(java.util.Calendar value)Sets the value of the levelCreationDate property.- Parameters:
value
- allowed object isString
-
isSetLevelCreationDate
public boolean isSetLevelCreationDate() -
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() -
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() -
setAllocation
public void setAllocation(int value)Sets the value of the allocation property.- Parameters:
value
- allowed object isString
-
isSetAllocation
public boolean isSetAllocation() -
getCreationTemplateName
public java.lang.String getCreationTemplateName()Gets the value of the creationTemplateName property.- Returns:
- possible object is
String
-
isSetCreationTemplateName
public boolean isSetCreationTemplateName() -
getCreationTemplateBaseTemplateName
public java.lang.String getCreationTemplateBaseTemplateName()Gets the value of the creationTemplateBaseTemplateName property.- Returns:
- possible object is
String
-
isSetCreationTemplateBaseTemplateName
public boolean isSetCreationTemplateBaseTemplateName() -
getCreationTemplateBaseTemplateLevelType
public java.lang.String getCreationTemplateBaseTemplateLevelType()Gets the value of the creationTemplateBaseTemplateLevelType property.- Returns:
- possible object is
String
-
isSetCreationTemplateBaseTemplateLevelType
public boolean isSetCreationTemplateBaseTemplateLevelType() -
getCreationTemplateOwningOrgName
public java.lang.String getCreationTemplateOwningOrgName()Gets the value of the creationTemplateOwningOrgName property.- Returns:
- possible object is
String
-
isSetCreationTemplateOwningOrgName
public boolean isSetCreationTemplateOwningOrgName() -
getCreationTemplateOwningOrgEnterpriseName
public java.lang.String getCreationTemplateOwningOrgEnterpriseName()Gets the value of the creationTemplateOwningOrgEnterpriseName property.- Returns:
- possible object is
String
-
isSetCreationTemplateOwningOrgEnterpriseName
public boolean isSetCreationTemplateOwningOrgEnterpriseName() -
getCreationTemplateOwningUserName
public java.lang.String getCreationTemplateOwningUserName()Gets the value of the creationTemplateOwningUserName property.- Returns:
- possible object is
String
-
isSetCreationTemplateOwningUserName
public boolean isSetCreationTemplateOwningUserName() -
getCreationTemplateOwningUserEnterpriseName
public java.lang.String getCreationTemplateOwningUserEnterpriseName()Gets the value of the creationTemplateOwningUserEnterpriseName property.- Returns:
- possible object is
String
-
isSetCreationTemplateOwningUserEnterpriseName
public boolean isSetCreationTemplateOwningUserEnterpriseName() -
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() -
getParent
Returns the parent AchievementConfig. This is an in-memory retrieval and does not perform a database lookup- Specified by:
getParent
in interfacecom.onenetwork.platform.common.impl.Child<AchievementConfig>
- Returns:
- parent AchievementConfig
-
setParent
Sets the parent AchievementConfig. This is an in-memory set and does not perform a database write- Specified by:
setParent
in interfacecom.onenetwork.platform.common.impl.Child<AchievementConfig>
- Parameters:
parent
- new parent AchievementConfig
-
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
-
setCreationTemplateName
public void setCreationTemplateName(java.lang.String value)Sets the value of CreationTemplateName, and also nullifies the following surrogate ids: SysCreationTemplateId. 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 CreationTemplateName - the following will also be nullified: SysCreationTemplateId
-
setCreationTemplateBaseTemplateName
public void setCreationTemplateBaseTemplateName(java.lang.String value)Sets the value of CreationTemplateBaseTemplateName, and also nullifies the following surrogate ids: SysCreationTemplateId. 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 CreationTemplateBaseTemplateName - the following will also be nullified: SysCreationTemplateId
-
setCreationTemplateBaseTemplateLevelType
public void setCreationTemplateBaseTemplateLevelType(java.lang.String value)Sets the value of CreationTemplateBaseTemplateLevelType, and also nullifies the following surrogate ids: SysCreationTemplateId. 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 CreationTemplateBaseTemplateLevelType - the following will also be nullified: SysCreationTemplateId
-
setCreationTemplateOwningOrgName
public void setCreationTemplateOwningOrgName(java.lang.String value)Sets the value of CreationTemplateOwningOrgName, and also nullifies the following surrogate ids: SysCreationTemplateId. 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 CreationTemplateOwningOrgName - the following will also be nullified: SysCreationTemplateId
-
setCreationTemplateOwningOrgEnterpriseName
public void setCreationTemplateOwningOrgEnterpriseName(java.lang.String value)Sets the value of CreationTemplateOwningOrgEnterpriseName, and also nullifies the following surrogate ids: SysCreationTemplateId. 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 CreationTemplateOwningOrgEnterpriseName - the following will also be nullified: SysCreationTemplateId
-
setCreationTemplateOwningUserName
public void setCreationTemplateOwningUserName(java.lang.String value)Sets the value of CreationTemplateOwningUserName, and also nullifies the following surrogate ids: SysCreationTemplateId. 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 CreationTemplateOwningUserName - the following will also be nullified: SysCreationTemplateId
-
setCreationTemplateOwningUserEnterpriseName
public void setCreationTemplateOwningUserEnterpriseName(java.lang.String value)Sets the value of CreationTemplateOwningUserEnterpriseName, and also nullifies the following surrogate ids: SysCreationTemplateId. 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 CreationTemplateOwningUserEnterpriseName - the following will also be nullified: SysCreationTemplateId
-
getAllocation
public int getAllocation() -
unsetAllocation
public void unsetAllocation() -
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
-
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
-
getSysCreationTemplateId
public java.lang.Long getSysCreationTemplateId()Returns the surrogate id value for SysCreationTemplateId. After reading a model, this will always match with the corresponding natural keys, which are: creationTemplateName, creationTemplateBaseTemplateName, creationTemplateBaseTemplateLevelType, creationTemplateOwningOrgName, creationTemplateOwningOrgEnterpriseName, creationTemplateOwningUserName, creationTemplateOwningUserEnterpriseName -
setSysCreationTemplateId
public void setSysCreationTemplateId(java.lang.Long value, boolean nullifyNaturalKeys)Sets the surrogate id value for SysCreationTemplateId. 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: creationTemplateName, creationTemplateBaseTemplateName, creationTemplateBaseTemplateLevelType, creationTemplateOwningOrgName, creationTemplateOwningOrgEnterpriseName, creationTemplateOwningUserName, creationTemplateOwningUserEnterpriseName. 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 SysCreationTemplateIdnullifyNaturalKeys
- true to nullify the related natural keys (creationTemplateName, creationTemplateBaseTemplateName, creationTemplateBaseTemplateLevelType, creationTemplateOwningOrgName, creationTemplateOwningOrgEnterpriseName, creationTemplateOwningUserName, creationTemplateOwningUserEnterpriseName), 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
-