org.opencrx.kernel.ras1.cci
Interface Asset

All Superinterfaces:
AbstractProduct, AddressContainer, AlertSender, Auditee, BasicObject, Cloneable, ContextCapable, ContractPositionConstrained, CrxObject, DepotReferenceHolder, DescriptionContainer, ExtentCapable, Importer, Indexed, Pictured, Product, ProductConfigurationSet, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, SecureObject, SubscriptionTarget, ViewCapable, XmlExporter
All Known Implementing Classes:
AssetImpl

public interface Asset
extends Product


Method Summary
 void addClassificationElement(ClassificationElement newValue)
           
 void addClassificationElement(String id, ClassificationElement newValue)
           
 void addDefiningProfile(Profile newValue)
           
 void addDefiningProfile(String id, Profile newValue)
           
 void addSolutionPart(SolutionPart newValue)
           
 void addSolutionPart(String id, SolutionPart newValue)
           
 Collection getClassificationElement()
          Retrieves a collection containing all the elements for the reference classificationElement.
 List getClassificationElement(ClassificationElementFilter filter)
          Retrieves the value for the reference classificationElement for the specified filter.
 List getClassificationElement(ClassificationElementQuery query)
          Retrieves the value for the reference classificationElement for the specified query.
 ClassificationElement getClassificationElement(String id)
          Retrieves the value for the reference classificationElement for the specified qualifier attribute value.
 Collection getDefiningProfile()
          Retrieves a collection containing all the elements for the reference definingProfile.
 List getDefiningProfile(ProfileFilter filter)
          Retrieves the value for the reference definingProfile for the specified filter.
 List getDefiningProfile(ProfileQuery query)
          Retrieves the value for the reference definingProfile for the specified query.
 Profile getDefiningProfile(String id)
          Retrieves the value for the reference definingProfile for the specified qualifier attribute value.
 Profile getProfile()
          Retrieves the value for the optional reference profile.
 Collection getSolutionPart()
          Retrieves a collection containing all the elements for the reference solutionPart.
 List getSolutionPart(SolutionPartFilter filter)
          Retrieves the value for the reference solutionPart for the specified filter.
 List getSolutionPart(SolutionPartQuery query)
          Retrieves the value for the reference solutionPart for the specified query.
 SolutionPart getSolutionPart(String id)
          Retrieves the value for the reference solutionPart for the specified qualifier attribute value.
 String getVersion()
           
 void removeClassificationElement(String id)
           
 void removeDefiningProfile(String id)
           
 void removeProfile()
          Removes the value for the optional reference profile.
 void removeSolutionPart(String id)
           
 void setProfile(Profile newValue)
          Sets a new value for the reference profile.
 void setVersion(String newValue)
          Sets a new value for the attribute version.
 
Methods inherited from interface org.opencrx.kernel.product1.cci.Product
addRelatedProduct, addRelatedProduct, getGrossWeightKilogram, getNetWeightKilogram, getProductDimension, getRelatedProduct, getRelatedProduct, getRelatedProduct, getRelatedProduct, isStockItem, removeRelatedProduct, setConfigurationType, setConfigurationType, setGrossWeightKilogram, setNetWeightKilogram, setProductDimension, setStockItem
 
Methods inherited from interface org.opencrx.kernel.generic.cci.DescriptionContainer
addAdditionalDescription, addAdditionalDescription, getAdditionalDescription, getAdditionalDescription, getAdditionalDescription, getAdditionalDescription, removeAdditionalDescription
 
Methods inherited from interface org.opencrx.kernel.generic.cci.Pictured
getPicture, getPictureContent, getPictureContentMimeType, getPictureContentName, removePicture, setPicture
 
Methods inherited from interface org.opencrx.kernel.product1.cci.AbstractProduct
addAssignedAccount, addAssignedAccount, addBasePrice, addBasePrice, addClassification, addClassification, addPriceUom, addPriceUom, getAlternateProductNumber, getAlternateProductNumber, getAssignedAccount, getAssignedAccount, getAssignedAccount, getAssignedAccount, getBasePrice, getBasePrice, getBasePrice, getBasePrice, getClassification, getClassification, getDefaultPriceLevel, getDefaultUom, getDescription, getDetailedDescription, getName, getPriceUom, getPriceUom, getProductNumber, getProductState, getProductUsage, getSalesTaxType, removeAssignedAccount, removeBasePrice, removeClassification, removeDefaultPriceLevel, removeDefaultUom, removePriceUom, removeProductUsage, removeSalesTaxType, setAlternateProductNumber, setAlternateProductNumber, setDefaultPriceLevel, setDefaultUom, setDescription, setDetailedDescription, setName, setProductNumber, setProductState, setProductUsage, setSalesTaxType
 
Methods inherited from interface org.opencrx.kernel.depot1.cci.DepotReferenceHolder
addDepotReference, addDepotReference, getDepotReference, getDepotReference, getDepotReference, getDepotReference, removeDepotReference
 
Methods inherited from interface org.opencrx.kernel.generic.cci.CrxObject
addAdditionalExternalLink, addAdditionalExternalLink, addAttachedDocument, addAttachedDocument, addMedia, addMedia, addNote, addNote, addPropertySet, addPropertySet, addRating, addRating, getAdditionalExternalLink, getAdditionalExternalLink, getAdditionalExternalLink, getAdditionalExternalLink, getAttachedDocument, getAttachedDocument, getAttachedDocument, getAttachedDocument, getCategory, getCategory, getDisabledReason, getExternalLink, getExternalLink, getMedia, getMedia, getMedia, getMedia, getNote, getNote, getNote, getNote, getPropertySet, getPropertySet, getPropertySet, getPropertySet, getPropertySetEntry, getPropertySetEntry, getPropertySetEntry, getPropertySetEntry, getRating, getRating, getRating, getRating, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserCode4, getUserCode4, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDate4, getUserDate4, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserDateTime4, getUserDateTime4, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserNumber4, getUserNumber4, getUserString0, getUserString1, getUserString2, getUserString3, getUserString4, getUserString4, isDisabled, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, isUserBoolean4, isUserBoolean4, removeAdditionalExternalLink, removeAttachedDocument, removeMedia, removeNote, removePropertySet, removeRating, setCategory, setCategory, setDisabled, setDisabledReason, setExternalLink, setExternalLink, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4, setUserString4
 
Methods inherited from interface org.opencrx.kernel.base.cci.AlertSender
sendAlert, sendAlert
 
Methods inherited from interface org.opencrx.kernel.base.cci.Auditee
getAudit, getAudit, getAudit, getAudit
 
Methods inherited from interface org.opencrx.kernel.base.cci.Cloneable
clone_, clone_
 
Methods inherited from interface org.opencrx.kernel.base.cci.Importer
importItem, importItem
 
Methods inherited from interface org.opencrx.kernel.base.cci.Indexed
getIndexEntry, getIndexEntry, getIndexEntry, getIndexEntry, updateIndex, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci.SecureObject
addOwningGroup, addOwningGroup, addOwningGroup, addOwningGroup, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwner, getOwningGroup, getOwningGroup, getOwningUser, removeAllOwningGroup, removeAllOwningGroup, removeOwningGroup, removeOwningGroup, removeOwningGroup, removeOwningUser, setAccessLevel, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.cci.SubscriptionTarget
addSubscription, addSubscription, addSubscriptionForParent, addSubscriptionForParent, removeSubscription, removeSubscription, removeSubscriptionForParent, removeSubscriptionForParent
 
Methods inherited from interface org.opencrx.kernel.base.cci.XmlExporter
exportXml, exportXml
 
Methods inherited from interface org.openmdx.base.cci.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci.ContextCapable
getContext, getContext
 
Methods inherited from interface org.openmdx.base.cci.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci.ViewCapable
getView, getView, getView, getView
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 
Methods inherited from interface org.opencrx.kernel.product1.cci.AddressContainer
addAddress, addAddress, getAddress, getAddress, getAddress, getAddress, removeAddress
 
Methods inherited from interface org.opencrx.kernel.product1.cci.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.cci.ProductConfigurationSet
addConfiguration, addConfiguration, getConfigType, getConfiguration, getConfiguration, getConfiguration, getConfiguration, removeConfiguration, unsetConfigurationType, unsetConfigurationType
 

Method Detail

getClassificationElement

ClassificationElement getClassificationElement(String id)
Retrieves the value for the reference classificationElement for the specified qualifier attribute value.

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this reference.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getClassificationElement

Collection getClassificationElement()
Retrieves a collection containing all the elements for the reference classificationElement.

Returns:
A collection containing all the elements for this reference.
Throws:
JmiException - If the values cannot be retrieved for some reason.

getClassificationElement

List getClassificationElement(ClassificationElementFilter filter)
Retrieves the value for the reference classificationElement for the specified filter.

Parameters:
filter - filter which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getClassificationElement

List getClassificationElement(ClassificationElementQuery query)
Retrieves the value for the reference classificationElement for the specified query.

Parameters:
predicate - predicate which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

addClassificationElement

void addClassificationElement(String id,
                              ClassificationElement newValue)
Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.
Throws:
JmiException - If the value cannot be appended for some reason.

addClassificationElement

void addClassificationElement(ClassificationElement newValue)
Parameters:
newValue - The element to be appended.
Throws:
JmiException - If the value cannot be appended for some reason.

removeClassificationElement

void removeClassificationElement(String id)
Throws:
JmiException - If the value cannot be removed for some reason.

getDefiningProfile

Profile getDefiningProfile(String id)
Retrieves the value for the reference definingProfile for the specified qualifier attribute value.

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this reference.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getDefiningProfile

Collection getDefiningProfile()
Retrieves a collection containing all the elements for the reference definingProfile.

Returns:
A collection containing all the elements for this reference.
Throws:
JmiException - If the values cannot be retrieved for some reason.

getDefiningProfile

List getDefiningProfile(ProfileFilter filter)
Retrieves the value for the reference definingProfile for the specified filter.

Parameters:
filter - filter which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getDefiningProfile

List getDefiningProfile(ProfileQuery query)
Retrieves the value for the reference definingProfile for the specified query.

Parameters:
predicate - predicate which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

addDefiningProfile

void addDefiningProfile(String id,
                        Profile newValue)
Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.
Throws:
JmiException - If the value cannot be appended for some reason.

addDefiningProfile

void addDefiningProfile(Profile newValue)
Parameters:
newValue - The element to be appended.
Throws:
JmiException - If the value cannot be appended for some reason.

removeDefiningProfile

void removeDefiningProfile(String id)
Throws:
JmiException - If the value cannot be removed for some reason.

getProfile

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

Returns:
The possibly null value for this reference.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setProfile

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

Parameters:
newValue - The non-null new value for this reference.
Throws:
JmiException - If the value cannot be set for some reason.

removeProfile

void removeProfile()
Removes the value for the optional reference profile.

Throws:
JmiException - If the value cannot be removed for some reason.

getSolutionPart

SolutionPart getSolutionPart(String id)
Retrieves the value for the reference solutionPart for the specified qualifier attribute value.

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this reference.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getSolutionPart

Collection getSolutionPart()
Retrieves a collection containing all the elements for the reference solutionPart.

Returns:
A collection containing all the elements for this reference.
Throws:
JmiException - If the values cannot be retrieved for some reason.

getSolutionPart

List getSolutionPart(SolutionPartFilter filter)
Retrieves the value for the reference solutionPart for the specified filter.

Parameters:
filter - filter which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getSolutionPart

List getSolutionPart(SolutionPartQuery query)
Retrieves the value for the reference solutionPart for the specified query.

Parameters:
predicate - predicate which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

addSolutionPart

void addSolutionPart(String id,
                     SolutionPart newValue)
Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.
Throws:
JmiException - If the value cannot be appended for some reason.

addSolutionPart

void addSolutionPart(SolutionPart newValue)
Parameters:
newValue - The element to be appended.
Throws:
JmiException - If the value cannot be appended for some reason.

removeSolutionPart

void removeSolutionPart(String id)
Throws:
JmiException - If the value cannot be removed for some reason.

getVersion

String getVersion()
Returns:
The possibly null value for attribute version.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setVersion

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

Parameters:
newValue - The possibly null new value for attribute version.
Throws:
JmiException - If the value cannot be set for some reason.


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