Class SingletonLine
- All Implemented Interfaces:
com.onenetwork.platform.common.impl.Child<Singleton>
,Model
,java.io.Serializable
public class SingletonLine extends com.onenetwork.platform.common.Model implements java.io.Serializable, com.onenetwork.platform.common.impl.Child<Singleton>
Java class for SingletonLine complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SingletonLine"> <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="SingletonLineNumber" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="ItemEnterpriseName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="ItemName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="State" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Quantity" type="{http://www.onenetwork.com/Platform}NullableDouble" minOccurs="0"/> <element name="QuantityUOM" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="LineMfgDate" type="{http://www.onenetwork.com/Platform}DateTime" 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 name="LineExpirationDate" type="{http://www.onenetwork.com/Platform}DateTime" minOccurs="0"/> <element name="LineItemName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="LineItemEnterpriseName" type="{http://www.w3.org/2001/XMLSchema}string" 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 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
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.lang.String
itemEnterpriseName
protected java.lang.String
itemName
protected java.util.Calendar
levelCreationDate
protected java.util.Calendar
levelModifiedDate
protected java.util.Calendar
lineExpirationDate
protected java.lang.String
lineItemEnterpriseName
protected java.lang.String
lineItemName
protected java.util.Calendar
lineMfgDate
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 Singleton
parent
Reference to the parent Singletonprotected java.lang.Double
quantity
protected java.lang.String
quantityUOM
protected java.lang.String
singletonLineNumber
static java.lang.String
STANDARD_MODEL_NAME
Constant reference to the standard model name for this JAXB.protected java.lang.String
state
protected java.lang.Long
sysCreationTemplateId
protected java.lang.Long
sysItemId
protected java.lang.Long
sysLineItemId
protected com.onenetwork.platform.common.NameValuePairList
udfs
-
Constructor Summary
Constructors Constructor Description SingletonLine()
-
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
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.lang.String
getItemEnterpriseName()
Gets the value of the itemEnterpriseName property.java.lang.String
getItemName()
Gets the value of the itemName 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.Calendar
getLineExpirationDate()
Gets the value of the lineExpirationDate property.java.lang.String
getLineItemEnterpriseName()
Gets the value of the lineItemEnterpriseName property.java.lang.String
getLineItemName()
Gets the value of the lineItemName property.java.util.Calendar
getLineMfgDate()
Gets the value of the lineMfgDate 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.Singleton
getParent()
Returns the parent Singleton.double
getQuantity()
java.lang.String
getQuantityUOM()
Gets the value of the quantityUOM property.java.lang.String
getSingletonLineNumber()
Gets the value of the singletonLineNumber property.java.lang.String
getStandardModelName()
method to get standard model name for this JAXB.java.lang.String
getState()
Gets the value of the state property.java.lang.Long
getSysCreationTemplateId()
Returns the surrogate id value for SysCreationTemplateId.java.lang.Long
getSysItemId()
Returns the surrogate id value for SysItemId.java.lang.Long
getSysLineItemId()
Returns the surrogate id value for SysLineItemId.com.onenetwork.platform.common.NameValuePairList
getUdfs()
Gets the value of the udfs property.int
hashCode()
protected java.lang.String
internalToString()
boolean
isSetAttributes()
boolean
isSetCreationTemplateBaseTemplateLevelType()
boolean
isSetCreationTemplateBaseTemplateName()
boolean
isSetCreationTemplateName()
boolean
isSetCreationTemplateOwningOrgEnterpriseName()
boolean
isSetCreationTemplateOwningOrgName()
boolean
isSetCreationTemplateOwningUserEnterpriseName()
boolean
isSetCreationTemplateOwningUserName()
boolean
isSetError()
boolean
isSetInputRefId()
boolean
isSetIssues()
boolean
isSetItemEnterpriseName()
boolean
isSetItemName()
boolean
isSetLevelCreationDate()
boolean
isSetLevelModifiedDate()
boolean
isSetLineExpirationDate()
boolean
isSetLineItemEnterpriseName()
boolean
isSetLineItemName()
boolean
isSetLineMfgDate()
boolean
isSetMDFsList()
boolean
isSetQuantity()
boolean
isSetQuantityUOM()
boolean
isSetSingletonLineNumber()
boolean
isSetState()
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
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
setItemEnterpriseName(java.lang.String value)
Sets the value of ItemEnterpriseName, and also nullifies the following surrogate ids: SysItemId.void
setItemName(java.lang.String value)
Sets the value of ItemName, and also nullifies the following surrogate ids: SysItemId.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
setLineExpirationDate(java.util.Calendar value)
Sets the value of the lineExpirationDate property.void
setLineItemEnterpriseName(java.lang.String value)
Sets the value of LineItemEnterpriseName, and also nullifies the following surrogate ids: SysLineItemId.void
setLineItemName(java.lang.String value)
Sets the value of LineItemName, and also nullifies the following surrogate ids: SysLineItemId.void
setLineMfgDate(java.util.Calendar value)
Sets the value of the lineMfgDate property.void
setParent(Singleton parent)
Sets the parent Singleton.void
setQuantity(double value)
Sets the value of the quantity property.void
setQuantityUOM(java.lang.String value)
Sets the value of the quantityUOM property.void
setSingletonLineNumber(java.lang.String value)
Sets the value of the singletonLineNumber property.void
setState(java.lang.String value)
Sets the value of the state property.void
setSysCreationTemplateId(java.lang.Long value, boolean nullifyNaturalKeys)
Sets the surrogate id value for SysCreationTemplateId.void
setSysItemId(java.lang.Long value, boolean nullifyNaturalKeys)
Sets the surrogate id value for SysItemId.void
setSysLineItemId(java.lang.Long value, boolean nullifyNaturalKeys)
Sets the surrogate id value for SysLineItemId.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()
void
unsetQuantity()
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 -
singletonLineNumber
protected java.lang.String singletonLineNumber -
itemEnterpriseName
protected java.lang.String itemEnterpriseName -
itemName
protected java.lang.String itemName -
state
protected java.lang.String state -
quantity
protected java.lang.Double quantity -
quantityUOM
protected java.lang.String quantityUOM -
lineMfgDate
protected java.util.Calendar lineMfgDate -
udfs
protected com.onenetwork.platform.common.NameValuePairList udfs -
issues
-
lineExpirationDate
protected java.util.Calendar lineExpirationDate -
lineItemName
protected java.lang.String lineItemName -
lineItemEnterpriseName
protected java.lang.String lineItemEnterpriseName -
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 -
mdFsList
protected java.util.List<javax.xml.bind.JAXBElement<? extends com.onenetwork.platform.common.MDFs>> mdFsList -
attributes
-
parent
Reference to the parent Singleton -
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. -
sysItemId
protected java.lang.Long sysItemId -
sysLineItemId
protected java.lang.Long sysLineItemId -
sysCreationTemplateId
protected java.lang.Long sysCreationTemplateId
-
-
Constructor Details
-
SingletonLine
public SingletonLine()
-
-
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() -
getSingletonLineNumber
public java.lang.String getSingletonLineNumber()Gets the value of the singletonLineNumber property.- Returns:
- possible object is
String
-
setSingletonLineNumber
public void setSingletonLineNumber(java.lang.String value)Sets the value of the singletonLineNumber property.- Parameters:
value
- allowed object isString
-
isSetSingletonLineNumber
public boolean isSetSingletonLineNumber() -
getItemEnterpriseName
Gets the value of the itemEnterpriseName property.- Returns:
- possible object is
String
-
isSetItemEnterpriseName
-
getItemName
Gets the value of the itemName property.- Returns:
- possible object is
String
-
isSetItemName
-
getState
public java.lang.String getState()Gets the value of the state property.- Returns:
- possible object is
String
-
setState
public void setState(java.lang.String value)Sets the value of the state property.- Parameters:
value
- allowed object isString
-
isSetState
public boolean isSetState() -
setQuantity
public void setQuantity(double value)Sets the value of the quantity property.- Parameters:
value
- allowed object isString
-
isSetQuantity
public boolean isSetQuantity() -
getQuantityUOM
public java.lang.String getQuantityUOM()Gets the value of the quantityUOM property.- Returns:
- possible object is
String
-
setQuantityUOM
public void setQuantityUOM(java.lang.String value)Sets the value of the quantityUOM property.- Parameters:
value
- allowed object isString
-
isSetQuantityUOM
public boolean isSetQuantityUOM() -
getLineMfgDate
Gets the value of the lineMfgDate property.- Returns:
- possible object is
String
-
setLineMfgDate
Sets the value of the lineMfgDate property.- Parameters:
value
- allowed object isString
-
isSetLineMfgDate
-
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() -
getLineExpirationDate
Gets the value of the lineExpirationDate property.- Returns:
- possible object is
String
-
setLineExpirationDate
Sets the value of the lineExpirationDate property.- Parameters:
value
- allowed object isString
-
isSetLineExpirationDate
-
getLineItemName
public java.lang.String getLineItemName()Gets the value of the lineItemName property.- Returns:
- possible object is
String
-
isSetLineItemName
public boolean isSetLineItemName() -
getLineItemEnterpriseName
public java.lang.String getLineItemEnterpriseName()Gets the value of the lineItemEnterpriseName property.- Returns:
- possible object is
String
-
isSetLineItemEnterpriseName
public boolean isSetLineItemEnterpriseName() -
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() -
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 Singleton. This is an in-memory retrieval and does not perform a database lookup- Specified by:
getParent
in interfacecom.onenetwork.platform.common.impl.Child<Singleton>
- Returns:
- parent Singleton
-
setParent
Sets the parent Singleton. This is an in-memory set and does not perform a database write- Specified by:
setParent
in interfacecom.onenetwork.platform.common.impl.Child<Singleton>
- Parameters:
parent
- new parent Singleton
-
setItemEnterpriseName
Sets the value of ItemEnterpriseName, and also nullifies the following surrogate ids: SysItemId. 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 ItemEnterpriseName - the following will also be nullified: SysItemId
-
setItemName
Sets the value of ItemName, and also nullifies the following surrogate ids: SysItemId. 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 ItemName - the following will also be nullified: SysItemId
-
setLineItemName
public void setLineItemName(java.lang.String value)Sets the value of LineItemName, and also nullifies the following surrogate ids: SysLineItemId. 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 LineItemName - the following will also be nullified: SysLineItemId
-
setLineItemEnterpriseName
public void setLineItemEnterpriseName(java.lang.String value)Sets the value of LineItemEnterpriseName, and also nullifies the following surrogate ids: SysLineItemId. 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 LineItemEnterpriseName - the following will also be nullified: SysLineItemId
-
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
-
getQuantity
public double getQuantity() -
unsetQuantity
public void unsetQuantity() -
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
-
getSysItemId
public java.lang.Long getSysItemId()Returns the surrogate id value for SysItemId. After reading a model, this will always match with the corresponding natural keys, which are: itemEnterpriseName, itemName -
setSysItemId
public void setSysItemId(java.lang.Long value, boolean nullifyNaturalKeys)Sets the surrogate id value for SysItemId. 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: itemEnterpriseName, itemName. 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 SysItemIdnullifyNaturalKeys
- true to nullify the related natural keys (itemEnterpriseName, itemName), 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
-
getSysLineItemId
public java.lang.Long getSysLineItemId()Returns the surrogate id value for SysLineItemId. After reading a model, this will always match with the corresponding natural keys, which are: lineItemName, lineItemEnterpriseName -
setSysLineItemId
public void setSysLineItemId(java.lang.Long value, boolean nullifyNaturalKeys)Sets the surrogate id value for SysLineItemId. 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: lineItemName, lineItemEnterpriseName. 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 SysLineItemIdnullifyNaturalKeys
- true to nullify the related natural keys (lineItemName, lineItemEnterpriseName), 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
-