org.opencrx.kernel.ras1.jpa3
Class Asset

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jpa3.AbstractObject
          extended by org.opencrx.kernel.product1.jpa3.Product
              extended by org.opencrx.kernel.ras1.jpa3.Asset
All Implemented Interfaces:
Serializable, AlertSender, Auditee, Cloneable, Exporter, Importer, Indexed, SecureObject, DepotReferenceHolder, CrxObject, DescriptionContainer, Pictured, AbstractProduct, AddressContainer, ContractPositionConstrained, Product, ProductConfigurationSet, Asset, AspectCapable, BasicObject, ContextCapable, Creatable, ExtentCapable, Modifiable

public class Asset
extends Product
implements Asset

Class Asset

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.w3c.jpa3.AbstractObject
org.w3c.jpa3.AbstractObject.EmbeddedList<E>, org.w3c.jpa3.AbstractObject.EmbeddedSet<E>, org.w3c.jpa3.AbstractObject.Slice
 
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.jpa3.Product
BASE_CLASS
 
Constructor Summary
Asset()
          Constructor
 
Method Summary
<T extends ClassificationElement>
AssetHasClassificationElement.ClassificationElement<T>
getClassificationElement()
          Retrieves a set containing all the elements for the reference classificationElement.
<T extends Profile>
AssetHasProfile.DefiningProfile<T>
getDefiningProfile()
          Retrieves a set containing all the elements for the reference definingProfile.
 String getProfile_Id()
           
 Profile getProfile()
          Retrieves the value for the reference profile.
<T extends SolutionPart>
AssetHasSolution.SolutionPart<T>
getSolutionPart()
          Retrieves a set containing all the elements for the reference solutionPart.
 String getVersion()
          Retrieves the possibly null value for the optional attribute version.
protected  org.w3c.jpa3.AbstractObject.Slice newAsset$Slice(int index)
           
protected  List<String> openmdxjdoGetClass()
          Retrieve the model class
protected  int openmdxjdoGetSize(int field)
           
protected  void openmdxjdoSetSize(int field, int size)
           
 void setProfile_Id(String profile)
           
 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.opencrx.kernel.product1.jpa3.Product
addOwningGroup, checkPermissions, clone_, exportItem, exportItemAdvanced, getAccessGrantedByParent_Id, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getActiveOn, getAdditionalDescription, getAdditionalExternalLink, getAddress, getAlternateProductNumber, getAssignedAccount, getAttachedDocument, getAudit, getBasePrice, getCategory, getClassification_Id, getClassification, getConfigType_Id, getConfigType, getConfiguration, getContext, getCreatedAt, getCreatedBy, getDefaultPositions, getDefaultPriceLevel_Id, getDefaultPriceLevel, getDefaultQuantity, getDefaultUom_Id, getDefaultUom, getDepotReference, getDescription, getDetailedDescription, getDisabledReason, getDocumentFolderAssignment, getExpiresOn, getExternalLink, getGrossWeightKilogram, getIdentity, getIndexEntry, getItemNumber, getMaxPositions, getMaxQuantity, getMedia, getMinMaxQuantityHandling, getMinPositions, getMinQuantity, getModifiedAt, getModifiedBy, getName, getNetWeightKilogram, getNote, getOffsetQuantity, getOwner, getOwningGroup_Id, getOwningGroup, getOwningUser_Id, getOwningUser, getPicture_Id, getPicture, getPictureContent, getPictureContentMimeType, getPictureContentName, getPriceUom_Id, getPriceUom, getProductDimension, getProductNumber, getProductPhase, getProductState, getProductUsage_Id, getProductUsage, getPropertySet, getPropertySetEntry, getRating, getRelatedProduct, getSalesTaxType_Id, getSalesTaxType, getUserBoolean4, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserCode4, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDate4, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserDateTime4, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserNumber4, getUserString0, getUserString1, getUserString2, getUserString3, getUserString4, importItem, isAllowModification, isAllowRemoval, isDisabled, isStockItem, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, newProduct$Slice, openmdxjdoGetObjectId, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, sendAlert, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setActiveOn, setAllowModification, setAllowRemoval, setAlternateProductNumber, setCategory, setConfigType_Id, setConfigType, setConfigurationType, setDefaultPositions, setDefaultPriceLevel_Id, setDefaultPriceLevel, setDefaultQuantity, setDefaultUom_Id, setDefaultUom, setDescription, setDetailedDescription, setDisabled, setDisabledReason, setExpiresOn, setExternalLink, setGrossWeightKilogram, setItemNumber, setMaxPositions, setMaxQuantity, setMinMaxQuantityHandling, setMinPositions, setMinQuantity, setName, setNetWeightKilogram, setOffsetQuantity, setOwningUser_Id, setOwningUser, setOwningUser, setPicture_Id, setPicture, setProductDimension, setProductNumber, setProductState, setProductUsage_Id, setProductUsage, setSalesTaxType_Id, setSalesTaxType, setSegment_Id, setSegment, setStockItem, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4, unsetConfigurationType, updateIndex
 
Methods inherited from class org.w3c.jpa3.AbstractObject
openmdxjdoClassName, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewMap, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement
 
Methods inherited from class org.oasisopen.jdo2.Identifiable
jdoClass, modelClasses, openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet
 
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
getGrossWeightKilogram, getNetWeightKilogram, getProductDimension, getProductPhase, getRelatedProduct, isStockItem, setConfigurationType, setGrossWeightKilogram, setNetWeightKilogram, setProductDimension, setStockItem
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.DescriptionContainer
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
getActiveOn, getAlternateProductNumber, getAssignedAccount, 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
getDepotReference
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject
getAdditionalExternalLink, getAttachedDocument, getCategory, getDisabledReason, getDocumentFolderAssignment, getExternalLink, getMedia, getNote, getPropertySet, getPropertySetEntry, getRating, getUserBoolean4, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserCode4, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDate4, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserDateTime4, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserNumber4, getUserString0, getUserString1, getUserString2, getUserString3, getUserString4, isDisabled, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, setCategory, setDisabled, setDisabledReason, setExternalLink, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4
 
Methods inherited from interface org.opencrx.kernel.base.cci2.AlertSender
sendAlert
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee
getAudit
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable
clone_
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Exporter
exportItem, exportItemAdvanced
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
Methods inherited from interface org.openmdx.base.cci2.Creatable
getCreatedAt, getCreatedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.base.cci2.Modifiable
getModifiedAt, getModifiedBy
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.AddressContainer
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
getConfigType, getConfiguration, setConfigType, unsetConfigurationType
 

Field Detail

CLASS

public static final List<String> CLASS
Define the model class org::opencrx::kernel::ras1::Asset

Constructor Detail

Asset

public Asset()
Constructor

Method Detail

getVersion

public final String getVersion()
Retrieves the possibly null value for the optional attribute version.

Specified by:
getVersion in interface Asset
Returns:
The possibly null value for attribute version.

setVersion

public void setVersion(String version)
Sets a new value for the attribute version.

Specified by:
setVersion in interface Asset
Parameters:
version - The possibly null new value for attribute version.

getSolutionPart

public <T extends SolutionPart> AssetHasSolution.SolutionPart<T> getSolutionPart()
Retrieves a set containing all the elements for the reference solutionPart.

Specified by:
getSolutionPart in interface Asset
Returns:
A set containing all the elements for this reference.

getClassificationElement

public <T extends ClassificationElement> AssetHasClassificationElement.ClassificationElement<T> getClassificationElement()
Retrieves a set containing all the elements for the reference classificationElement.

Specified by:
getClassificationElement in interface Asset
Returns:
A set containing all the elements for this reference.

getDefiningProfile

public <T extends Profile> AssetHasProfile.DefiningProfile<T> getDefiningProfile()
Retrieves a set containing all the elements for the reference definingProfile.

Specified by:
getDefiningProfile in interface Asset
Returns:
A set containing all the elements for this reference.

getProfile

public Profile getProfile()
Retrieves the value for the reference profile.

Specified by:
getProfile in interface Asset
Returns:
The – possibly null – value for this reference.

getProfile_Id

public String getProfile_Id()

setProfile

public void setProfile(Profile profile)
Sets a new value for the reference profile.

Specified by:
setProfile in interface Asset
Parameters:
profile - The non-null new value for this reference.

setProfile_Id

public void setProfile_Id(String profile)

openmdxjdoGetSize

protected int openmdxjdoGetSize(int field)
Overrides:
openmdxjdoGetSize in class Product

openmdxjdoSetSize

protected void openmdxjdoSetSize(int field,
                                 int size)
Overrides:
openmdxjdoSetSize in class Product

newAsset$Slice

protected org.w3c.jpa3.AbstractObject.Slice newAsset$Slice(int index)

openmdxjdoGetClass

protected List<String> openmdxjdoGetClass()
Retrieve the model class

Overrides:
openmdxjdoGetClass in class Product
Returns:
the model class
See Also:
Asset.CLASS


This software is published under the BSD license. Copyright © 2003-2009, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.