|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.oasisopen.jdo2.Identifiable
org.w3c.jdo2.AbstractObject
org.opencrx.kernel.product1.jdo2.Product
org.opencrx.kernel.ras1.jdo2.Asset
public class Asset
Class Asset
| Nested Class Summary | |
|---|---|
static class |
Asset.Slice
Slice object hold the Asset's multivalued
attributes |
| Nested classes/interfaces inherited from class org.opencrx.kernel.product1.jdo2.Product |
|---|
Product.Identity |
| Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject |
|---|
org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E> |
| Nested classes/interfaces inherited from interface org.opencrx.kernel.product1.cci2.Product |
|---|
Product.Identity |
| Field Summary | |
|---|---|
static List<String> |
CLASS
Define the model class org::opencrx::kernel::ras1::Asset |
| Fields inherited from class org.opencrx.kernel.product1.jdo2.Product |
|---|
BASE_CLASS |
| Constructor Summary | |
|---|---|
Asset()
|
|
| Method Summary | ||
|---|---|---|
void |
addClassificationElement(boolean idIsPersistent,
String id,
ClassificationElement classificationElement)
Adds the specified element to the set of the values for the reference classificationElement. |
|
void |
addDefiningProfile(boolean idIsPersistent,
String id,
Profile definingProfile)
Adds the specified element to the set of the values for the reference definingProfile. |
|
void |
addSolutionPart(boolean idIsPersistent,
String id,
SolutionPart solutionPart)
Adds the specified element to the set of the values for the reference solutionPart. |
|
|
getClassificationElement()
Retrieves a set containing all the elements for the reference classificationElement. |
|
ClassificationElement |
getClassificationElement(boolean idIsPersistent,
String id)
Retrieves the value for the reference classificationElement for the specified qualifier
attribute value. |
|
|
getDefiningProfile()
Retrieves a set containing all the elements for the reference definingProfile. |
|
Profile |
getDefiningProfile(boolean idIsPersistent,
String id)
Retrieves the value for the reference definingProfile for
the specified qualifier attribute value. |
|
Profile |
getProfile()
Retrieves the value for the reference profile. |
|
|
getSolutionPart()
Retrieves a set containing all the elements for the reference solutionPart. |
|
SolutionPart |
getSolutionPart(boolean idIsPersistent,
String id)
Retrieves the value for the reference solutionPart for the
specified qualifier attribute value. |
|
String |
getVersion()
Retrieves the possibly null value for the optional attribute version. |
|
static Product.Identity |
newIdentity(org.openmdx.base.cci2.Segment.Identity segment,
boolean idIsPersistent,
String id)
|
|
protected org.w3c.jdo2.AbstractObject.Slice |
newSlice(int index)
|
|
protected List<String> |
openmdxjdoGetClass()
Retrieve the model class |
|
protected int |
openmdxjdoGetSize(int field)
|
|
protected void |
openmdxjdoSetSize(int field,
int size)
|
|
static Product.Identity |
openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)
|
|
void |
setProfile(Profile profile)
Sets a new value for the reference profile. |
|
void |
setVersion(String version)
Sets a new value for the attribute version. |
|
| Methods inherited from class org.w3c.jdo2.AbstractObject |
|---|
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement |
| Methods inherited from class org.oasisopen.jdo2.Identifiable |
|---|
openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet, openmdxjdoNewObjectId, openmdxjdoNewObjectId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opencrx.kernel.product1.cci2.Product |
|---|
addProductPhase, addRelatedProduct, getGrossWeightKilogram, getNetWeightKilogram, getProductDimension, getProductPhase, getProductPhase, getRelatedProduct, getRelatedProduct, isStockItem, setConfigurationType, setGrossWeightKilogram, setNetWeightKilogram, setProductDimension, setStockItem |
| Methods inherited from interface org.opencrx.kernel.generic.cci2.DescriptionContainer |
|---|
addAdditionalDescription, getAdditionalDescription, getAdditionalDescription |
| Methods inherited from interface org.opencrx.kernel.generic.cci2.Pictured |
|---|
getPicture, getPictureContent, getPictureContentMimeType, getPictureContentName, setPicture |
| Methods inherited from interface org.opencrx.kernel.product1.cci2.AbstractProduct |
|---|
addAssignedAccount, addBasePrice, getActiveOn, getAlternateProductNumber, getAssignedAccount, getAssignedAccount, getBasePrice, getBasePrice, getClassification, getDefaultPriceLevel, getDefaultUom, getDescription, getDetailedDescription, getExpiresOn, getName, getPriceUom, getProductNumber, getProductState, getProductUsage, getSalesTaxType, setActiveOn, setAlternateProductNumber, setDefaultPriceLevel, setDefaultUom, setDescription, setDetailedDescription, setExpiresOn, setName, setProductNumber, setProductState, setProductUsage, setSalesTaxType |
| Methods inherited from interface org.opencrx.kernel.depot1.cci2.DepotReferenceHolder |
|---|
addDepotReference, getDepotReference, getDepotReference |
| Methods inherited from interface org.opencrx.kernel.base.cci2.AlertSender |
|---|
sendAlert |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee |
|---|
getAudit, getAudit |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable |
|---|
clone_ |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Importer |
|---|
importItem |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed |
|---|
getIndexEntry, getIndexEntry, updateIndex |
| Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject |
|---|
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser |
| Methods inherited from interface org.opencrx.kernel.base.cci2.XmlExporter |
|---|
exportXml |
| Methods inherited from interface org.openmdx.base.cci2.BasicObject |
|---|
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy |
| Methods inherited from interface org.openmdx.base.cci2.ExtentCapable |
|---|
getIdentity |
| Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable |
|---|
getView, getView |
| Methods inherited from interface org.opencrx.kernel.product1.cci2.AddressContainer |
|---|
addAddress, getAddress, getAddress |
| Methods inherited from interface org.opencrx.kernel.product1.cci2.ContractPositionConstrained |
|---|
getDefaultPositions, getDefaultQuantity, getItemNumber, getMaxPositions, getMaxQuantity, getMinMaxQuantityHandling, getMinPositions, getMinQuantity, getOffsetQuantity, isAllowModification, isAllowRemoval, setAllowModification, setAllowRemoval, setDefaultPositions, setDefaultQuantity, setItemNumber, setMaxPositions, setMaxQuantity, setMinMaxQuantityHandling, setMinPositions, setMinQuantity, setOffsetQuantity |
| Methods inherited from interface org.opencrx.kernel.product1.cci2.ProductConfigurationSet |
|---|
addConfiguration, getConfigType, getConfiguration, getConfiguration, unsetConfigurationType |
| Field Detail |
|---|
public static final List<String> CLASS
org::opencrx::kernel::ras1::Asset
| Constructor Detail |
|---|
public Asset()
| Method Detail |
|---|
public final String getVersion()
version.
getVersion in interface Assetversion.public void setVersion(String version)
version.
setVersion in interface Assetversion - The possibly null new value for attribute version.public <T extends SolutionPart> Collection<T> getSolutionPart()
solutionPart.
getSolutionPart in interface Asset
public SolutionPart getSolutionPart(boolean idIsPersistent,
String id)
solutionPart for the
specified qualifier attribute value.
getSolutionPart in interface AssetidIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
public void addSolutionPart(boolean idIsPersistent,
String id,
SolutionPart solutionPart)
solutionPart.
Note: This is an extension to the JMI 1 standard.
addSolutionPart in interface AssetidIsPersistent - true if id is persistentid - The qualifier attribute value that qualifies the reference to get the element to be appended.solutionPart - The element to be appended.public <T extends ClassificationElement> Collection<T> getClassificationElement()
classificationElement.
getClassificationElement in interface Asset
public ClassificationElement getClassificationElement(boolean idIsPersistent,
String id)
classificationElement for the specified qualifier
attribute value.
getClassificationElement in interface AssetidIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
public void addClassificationElement(boolean idIsPersistent,
String id,
ClassificationElement classificationElement)
classificationElement.
Note: This is an extension to the JMI 1 standard.
addClassificationElement in interface AssetidIsPersistent - true if id is persistentid - The qualifier attribute value that qualifies the reference to get the element to be appended.classificationElement - The element to be appended.public <T extends Profile> Collection<T> getDefiningProfile()
definingProfile.
getDefiningProfile in interface Asset
public Profile getDefiningProfile(boolean idIsPersistent,
String id)
definingProfile for
the specified qualifier attribute value.
getDefiningProfile in interface AssetidIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
public void addDefiningProfile(boolean idIsPersistent,
String id,
Profile definingProfile)
definingProfile.
Note: This is an extension to the JMI 1 standard.
addDefiningProfile in interface AssetidIsPersistent - true if id is persistentid - The qualifier attribute value that qualifies the reference to get the element to be appended.definingProfile - The element to be appended.public Profile getProfile()
profile.
getProfile in interface Assetnull – value for this reference.public void setProfile(Profile profile)
profile.
setProfile in interface Assetprofile - The non-null new value for this reference.protected int openmdxjdoGetSize(int field)
openmdxjdoGetSize in class Product
protected void openmdxjdoSetSize(int field,
int size)
openmdxjdoSetSize in class Productprotected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
newSlice in class Productprotected List<String> openmdxjdoGetClass()
openmdxjdoGetClass in class ProductAsset.CLASS
public static Product.Identity newIdentity(org.openmdx.base.cci2.Segment.Identity segment,
boolean idIsPersistent,
String id)
public static Product.Identity openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||