Class RelatedModelAction
- All Implemented Interfaces:
com.onenetwork.platform.common.impl.Child<PageAction>
,Model
,java.io.Serializable
public class RelatedModelAction extends com.onenetwork.platform.common.Model implements java.io.Serializable, com.onenetwork.platform.common.impl.Child<PageAction>
Java class for RelatedModelAction complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RelatedModelAction"> <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="Name" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="PageRelatedModelModelLevel" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="PageRelatedModelPageName" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="PageRelatedModelPageFlowName" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="PageRelatedModelPageFlowModelLevel" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="PageRelatedModelPageModelFieldName" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="Type" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="RelatedModelActionMask" 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.util.List<AttributeValue>
attributes
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 java.lang.String
name
protected java.lang.String
pageRelatedModelModelLevel
protected java.lang.String
pageRelatedModelPageFlowModelLevel
protected java.lang.String
pageRelatedModelPageFlowName
protected java.lang.String
pageRelatedModelPageModelFieldName
protected java.lang.String
pageRelatedModelPageName
protected PageAction
parent
Reference to the parent PageActionprotected java.lang.String
relatedModelActionMask
static java.lang.String
STANDARD_MODEL_NAME
Constant reference to the standard model name for this JAXB.protected java.lang.Long
sysPageRelatedModelId
protected java.lang.String
type
protected com.onenetwork.platform.common.NameValuePairList
udfs
-
Constructor Summary
Constructors Constructor Description RelatedModelAction()
-
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.util.List<AttributeValue>
getAttributes()
Gets the value of the attributes 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.java.lang.String
getName()
Gets the value of the name property.java.lang.String
getPageRelatedModelModelLevel()
Gets the value of the pageRelatedModelModelLevel property.java.lang.String
getPageRelatedModelPageFlowModelLevel()
Gets the value of the pageRelatedModelPageFlowModelLevel property.java.lang.String
getPageRelatedModelPageFlowName()
Gets the value of the pageRelatedModelPageFlowName property.java.lang.String
getPageRelatedModelPageModelFieldName()
Gets the value of the pageRelatedModelPageModelFieldName property.java.lang.String
getPageRelatedModelPageName()
Gets the value of the pageRelatedModelPageName property.PageAction
getParent()
Returns the parent PageAction.java.lang.String
getRelatedModelActionMask()
Gets the value of the relatedModelActionMask property.java.lang.String
getStandardModelName()
method to get standard model name for this JAXB.java.lang.Long
getSysPageRelatedModelId()
Returns the surrogate id value for SysPageRelatedModelId.java.lang.String
getType()
Gets the value of the type property.com.onenetwork.platform.common.NameValuePairList
getUdfs()
Gets the value of the udfs property.int
hashCode()
protected java.lang.String
internalToString()
boolean
isSetAttributes()
boolean
isSetError()
boolean
isSetInputRefId()
boolean
isSetIssues()
boolean
isSetLevelCreationDate()
boolean
isSetLevelModifiedDate()
boolean
isSetMDFsList()
boolean
isSetName()
boolean
isSetPageRelatedModelModelLevel()
boolean
isSetPageRelatedModelPageFlowModelLevel()
boolean
isSetPageRelatedModelPageFlowName()
boolean
isSetPageRelatedModelPageModelFieldName()
boolean
isSetPageRelatedModelPageName()
boolean
isSetRelatedModelActionMask()
boolean
isSetType()
boolean
isSetUdfs()
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
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
setName(java.lang.String value)
Sets the value of the name property.void
setPageRelatedModelModelLevel(java.lang.String value)
Sets the value of PageRelatedModelModelLevel, and also nullifies the following surrogate ids: SysPageRelatedModelId.void
setPageRelatedModelPageFlowModelLevel(java.lang.String value)
Sets the value of PageRelatedModelPageFlowModelLevel, and also nullifies the following surrogate ids: SysPageRelatedModelId.void
setPageRelatedModelPageFlowName(java.lang.String value)
Sets the value of PageRelatedModelPageFlowName, and also nullifies the following surrogate ids: SysPageRelatedModelId.void
setPageRelatedModelPageModelFieldName(java.lang.String value)
Sets the value of PageRelatedModelPageModelFieldName, and also nullifies the following surrogate ids: SysPageRelatedModelId.void
setPageRelatedModelPageName(java.lang.String value)
Sets the value of PageRelatedModelPageName, and also nullifies the following surrogate ids: SysPageRelatedModelId.void
setParent(PageAction parent)
Sets the parent PageAction.void
setRelatedModelActionMask(java.lang.String value)
Sets the value of the relatedModelActionMask property.void
setSysPageRelatedModelId(java.lang.Long value, boolean nullifyNaturalKeys)
Sets the surrogate id value for SysPageRelatedModelId.void
setType(java.lang.String value)
Sets the value of the type property.void
setUdfs(com.onenetwork.platform.common.NameValuePairList value)
Sets the value of the udfs property.java.lang.String
toStrContrib()
Not intended for use by Clientsvoid
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 -
name
protected java.lang.String name -
pageRelatedModelModelLevel
protected java.lang.String pageRelatedModelModelLevel -
pageRelatedModelPageName
protected java.lang.String pageRelatedModelPageName -
pageRelatedModelPageFlowName
protected java.lang.String pageRelatedModelPageFlowName -
pageRelatedModelPageFlowModelLevel
protected java.lang.String pageRelatedModelPageFlowModelLevel -
pageRelatedModelPageModelFieldName
protected java.lang.String pageRelatedModelPageModelFieldName -
type
protected java.lang.String type -
relatedModelActionMask
protected java.lang.String relatedModelActionMask -
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 PageAction -
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. -
sysPageRelatedModelId
protected java.lang.Long sysPageRelatedModelId
-
-
Constructor Details
-
RelatedModelAction
public RelatedModelAction()
-
-
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() -
getName
public java.lang.String getName()Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)Sets the value of the name property.- Parameters:
value
- allowed object isString
-
isSetName
public boolean isSetName() -
getPageRelatedModelModelLevel
public java.lang.String getPageRelatedModelModelLevel()Gets the value of the pageRelatedModelModelLevel property.- Returns:
- possible object is
String
-
isSetPageRelatedModelModelLevel
public boolean isSetPageRelatedModelModelLevel() -
getPageRelatedModelPageName
public java.lang.String getPageRelatedModelPageName()Gets the value of the pageRelatedModelPageName property.- Returns:
- possible object is
String
-
isSetPageRelatedModelPageName
public boolean isSetPageRelatedModelPageName() -
getPageRelatedModelPageFlowName
public java.lang.String getPageRelatedModelPageFlowName()Gets the value of the pageRelatedModelPageFlowName property.- Returns:
- possible object is
String
-
isSetPageRelatedModelPageFlowName
public boolean isSetPageRelatedModelPageFlowName() -
getPageRelatedModelPageFlowModelLevel
public java.lang.String getPageRelatedModelPageFlowModelLevel()Gets the value of the pageRelatedModelPageFlowModelLevel property.- Returns:
- possible object is
String
-
isSetPageRelatedModelPageFlowModelLevel
public boolean isSetPageRelatedModelPageFlowModelLevel() -
getPageRelatedModelPageModelFieldName
public java.lang.String getPageRelatedModelPageModelFieldName()Gets the value of the pageRelatedModelPageModelFieldName property.- Returns:
- possible object is
String
-
isSetPageRelatedModelPageModelFieldName
public boolean isSetPageRelatedModelPageModelFieldName() -
getType
public java.lang.String getType()Gets the value of the type property.- Returns:
- possible object is
String
-
setType
public void setType(java.lang.String value)Sets the value of the type property.- Parameters:
value
- allowed object isString
-
isSetType
public boolean isSetType() -
getRelatedModelActionMask
public java.lang.String getRelatedModelActionMask()Gets the value of the relatedModelActionMask property.- Returns:
- possible object is
String
-
setRelatedModelActionMask
public void setRelatedModelActionMask(java.lang.String value)Sets the value of the relatedModelActionMask property.- Parameters:
value
- allowed object isString
-
isSetRelatedModelActionMask
public boolean isSetRelatedModelActionMask() -
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 PageAction. This is an in-memory retrieval and does not perform a database lookup- Specified by:
getParent
in interfacecom.onenetwork.platform.common.impl.Child<PageAction>
- Returns:
- parent PageAction
-
setParent
Sets the parent PageAction. This is an in-memory set and does not perform a database write- Specified by:
setParent
in interfacecom.onenetwork.platform.common.impl.Child<PageAction>
- Parameters:
parent
- new parent PageAction
-
setPageRelatedModelModelLevel
public void setPageRelatedModelModelLevel(java.lang.String value)Sets the value of PageRelatedModelModelLevel, and also nullifies the following surrogate ids: SysPageRelatedModelId. 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 PageRelatedModelModelLevel - the following will also be nullified: SysPageRelatedModelId
-
setPageRelatedModelPageName
public void setPageRelatedModelPageName(java.lang.String value)Sets the value of PageRelatedModelPageName, and also nullifies the following surrogate ids: SysPageRelatedModelId. 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 PageRelatedModelPageName - the following will also be nullified: SysPageRelatedModelId
-
setPageRelatedModelPageFlowName
public void setPageRelatedModelPageFlowName(java.lang.String value)Sets the value of PageRelatedModelPageFlowName, and also nullifies the following surrogate ids: SysPageRelatedModelId. 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 PageRelatedModelPageFlowName - the following will also be nullified: SysPageRelatedModelId
-
setPageRelatedModelPageFlowModelLevel
public void setPageRelatedModelPageFlowModelLevel(java.lang.String value)Sets the value of PageRelatedModelPageFlowModelLevel, and also nullifies the following surrogate ids: SysPageRelatedModelId. 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 PageRelatedModelPageFlowModelLevel - the following will also be nullified: SysPageRelatedModelId
-
setPageRelatedModelPageModelFieldName
public void setPageRelatedModelPageModelFieldName(java.lang.String value)Sets the value of PageRelatedModelPageModelFieldName, and also nullifies the following surrogate ids: SysPageRelatedModelId. 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 PageRelatedModelPageModelFieldName - the following will also be nullified: SysPageRelatedModelId
-
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
-
getSysPageRelatedModelId
public java.lang.Long getSysPageRelatedModelId()Returns the surrogate id value for SysPageRelatedModelId. After reading a model, this will always match with the corresponding natural keys, which are: pageRelatedModelModelLevel, pageRelatedModelPageName, pageRelatedModelPageFlowName, pageRelatedModelPageFlowModelLevel, pageRelatedModelPageModelFieldName -
setSysPageRelatedModelId
public void setSysPageRelatedModelId(java.lang.Long value, boolean nullifyNaturalKeys)Sets the surrogate id value for SysPageRelatedModelId. 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: pageRelatedModelModelLevel, pageRelatedModelPageName, pageRelatedModelPageFlowName, pageRelatedModelPageFlowModelLevel, pageRelatedModelPageModelFieldName. 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 SysPageRelatedModelIdnullifyNaturalKeys
- true to nullify the related natural keys (pageRelatedModelModelLevel, pageRelatedModelPageName, pageRelatedModelPageFlowName, pageRelatedModelPageFlowModelLevel, pageRelatedModelPageModelFieldName), 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
-