Class EntRoleTypeBase
- All Implemented Interfaces:
com.onenetwork.platform.common.impl.Child<EntRoleType>
,Model
,java.io.Serializable
public class EntRoleTypeBase extends com.onenetwork.platform.common.Model implements java.io.Serializable, com.onenetwork.platform.common.impl.Child<EntRoleType>
Java class for EntRoleTypeBase complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EntRoleTypeBase"> <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="BasedOn" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="Sequence" 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 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 java.lang.String
basedOn
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.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 EntRoleType
parent
Reference to the parent EntRoleTypeprotected java.lang.Integer
sequence
static java.lang.String
STANDARD_MODEL_NAME
Constant reference to the standard model name for this JAXB.protected java.lang.Long
sysCreationTemplateId
protected com.onenetwork.platform.common.NameValuePairList
udfs
-
Constructor Summary
Constructors Constructor Description EntRoleTypeBase()
-
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.java.lang.String
getBasedOn()
Gets the value of the basedOn 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.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.EntRoleType
getParent()
Returns the parent EntRoleType.int
getSequence()
java.lang.String
getStandardModelName()
method to get standard model name for this JAXB.java.lang.Long
getSysCreationTemplateId()
Returns the surrogate id value for SysCreationTemplateId.com.onenetwork.platform.common.NameValuePairList
getUdfs()
Gets the value of the udfs property.int
hashCode()
protected java.lang.String
internalToString()
boolean
isSetAttributes()
boolean
isSetBasedOn()
boolean
isSetCreationTemplateBaseTemplateLevelType()
boolean
isSetCreationTemplateBaseTemplateName()
boolean
isSetCreationTemplateName()
boolean
isSetCreationTemplateOwningOrgEnterpriseName()
boolean
isSetCreationTemplateOwningOrgName()
boolean
isSetCreationTemplateOwningUserEnterpriseName()
boolean
isSetCreationTemplateOwningUserName()
boolean
isSetError()
boolean
isSetInputRefId()
boolean
isSetLevelCreationDate()
boolean
isSetLevelModifiedDate()
boolean
isSetMDFsList()
boolean
isSetSequence()
boolean
isSetUdfs()
void
setBasedOn(java.lang.String value)
Sets the value of the basedOn 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(EntRoleType parent)
Sets the parent EntRoleType.void
setSequence(int value)
Sets the value of the sequence property.void
setSysCreationTemplateId(java.lang.Long value, boolean nullifyNaturalKeys)
Sets the surrogate id value for SysCreationTemplateId.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
unsetMDFsList()
void
unsetSequence()
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 -
basedOn
protected java.lang.String basedOn -
sequence
protected java.lang.Integer sequence -
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 -
mdFsList
protected java.util.List<javax.xml.bind.JAXBElement<? extends com.onenetwork.platform.common.MDFs>> mdFsList -
attributes
-
parent
Reference to the parent EntRoleType -
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. -
sysCreationTemplateId
protected java.lang.Long sysCreationTemplateId
-
-
Constructor Details
-
EntRoleTypeBase
public EntRoleTypeBase()
-
-
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() -
getBasedOn
public java.lang.String getBasedOn()Gets the value of the basedOn property.- Returns:
- possible object is
String
-
setBasedOn
public void setBasedOn(java.lang.String value)Sets the value of the basedOn property.- Parameters:
value
- allowed object isString
-
isSetBasedOn
public boolean isSetBasedOn() -
setSequence
public void setSequence(int value)Sets the value of the sequence property.- Parameters:
value
- allowed object isString
-
isSetSequence
public boolean isSetSequence() -
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
-
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 EntRoleType. This is an in-memory retrieval and does not perform a database lookup- Specified by:
getParent
in interfacecom.onenetwork.platform.common.impl.Child<EntRoleType>
- Returns:
- parent EntRoleType
-
setParent
Sets the parent EntRoleType. This is an in-memory set and does not perform a database write- Specified by:
setParent
in interfacecom.onenetwork.platform.common.impl.Child<EntRoleType>
- Parameters:
parent
- new parent EntRoleType
-
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
-
getSequence
public int getSequence() -
unsetSequence
public void unsetSequence() -
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
-
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
-