|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.base.accessor.jmi.spi.RefObject_1
org.opencrx.kernel.uom1.cci.UomImpl
public class UomImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface javax.jdo.spi.PersistenceCapable |
|---|
PersistenceCapable.ObjectIdFieldConsumer, PersistenceCapable.ObjectIdFieldManager, PersistenceCapable.ObjectIdFieldSupplier |
| Field Summary |
|---|
| Fields inherited from interface javax.jdo.spi.PersistenceCapable |
|---|
CHECK_READ, CHECK_WRITE, LOAD_REQUIRED, MEDIATE_READ, MEDIATE_WRITE, READ_OK, READ_WRITE_OK, SERIALIZABLE |
| Constructor Summary | |
|---|---|
UomImpl(Object_1_0 object,
RefClass refClass)
|
|
| Method Summary | |
|---|---|
void |
addAdditionalDescription(Description newValue)
|
void |
addAdditionalDescription(String id,
Description newValue)
|
protected void |
addContext(Context newValue)
|
protected void |
addContext(String id,
Context newValue)
|
void |
addOwningGroup(int index,
PrincipalGroup newValue)
|
ModifySecureObjectResult |
addOwningGroup(ModifyOwningGroupParams params)
|
void |
addOwningGroup(PrincipalGroup newValue)
|
ModifySecureObjectResult |
addOwningGroup(PrincipalGroup group,
short mode)
|
protected void |
addView(String namespace,
View newValue)
|
protected void |
addView(View newValue)
|
ExportResult |
exportXml(String attributeFilter,
String referenceFilter)
|
ExportResult |
exportXml(XmlExportParams params)
|
BasicObject |
getAccessGrantedByParent()
Retrieves the value for the optional reference accessGrantedByParent. |
short |
getAccessLevelBrowse()
Retrieves the value for the attribute accessLevelBrowse. |
protected short |
getAccessLevelBrowse(int index)
|
short |
getAccessLevelDelete()
Retrieves the value for the attribute accessLevelDelete. |
protected short |
getAccessLevelDelete(int index)
|
short |
getAccessLevelUpdate()
Retrieves the value for the attribute accessLevelUpdate. |
protected short |
getAccessLevelUpdate(int index)
|
Collection |
getAdditionalDescription()
Retrieves a collection containing all the elements for the reference additionalDescription. |
List |
getAdditionalDescription(DescriptionFilter filter)
Retrieves the value for the reference additionalDescription for the specified filter. |
List |
getAdditionalDescription(DescriptionQuery query)
Retrieves the value for the reference additionalDescription for the specified query. |
Description |
getAdditionalDescription(String id)
Retrieves the value for the reference additionalDescription for the specified qualifier
attribute value. |
Uom |
getBaseUom()
Retrieves the value for the optional reference baseUom. |
Collection |
getContext()
Retrieves the objects referenced by context. |
Context |
getContext(String id)
Retrieves the value for the reference context for the
specified qualifier attribute value. |
Date |
getCreatedAt()
Retrieves the value for the attribute createdAt. |
protected Date |
getCreatedAt(int index)
|
Set |
getCreatedBy()
|
String |
getDescription()
|
String |
getDetailedDescription()
|
String |
getIdentity()
Retrieves the value for the attribute identity. |
protected String |
getIdentity(int index)
|
Date |
getModifiedAt()
Retrieves the value for the attribute modifiedAt. |
protected Date |
getModifiedAt(int index)
|
Set |
getModifiedBy()
|
String |
getName()
Retrieves the value for the attribute name. |
protected String |
getName(int index)
|
List |
getOwner()
|
String |
getOwner(int index)
|
Collection |
getOwningGroup()
Retrieves the objects referenced by owningGroup. |
PrincipalGroup |
getOwningGroup(int index)
Retrieves the value for the reference owningGroup for the
specified qualifier attribute value. |
User |
getOwningUser()
Retrieves the value for the optional reference owningUser. |
BigDecimal |
getQuantity()
Retrieves the value for the attribute quantity. |
protected BigDecimal |
getQuantity(int index)
|
UomSchedule |
getUomSchedule()
Retrieves the value for the reference uomSchedule. |
Collection |
getView()
Retrieves a collection containing all the elements for the reference view. |
View |
getView(String namespace)
Retrieves the value for the reference view for the
specified qualifier attribute value. |
List |
getView(ViewFilter filter)
Retrieves the value for the reference view for the
specified filter. |
List |
getView(ViewQuery query)
Retrieves the value for the reference view for the
specified query. |
ImportResult |
importItem(byte[] item,
String itemMimeType,
String itemName,
short locale)
|
ImportResult |
importItem(ImportParams params)
|
boolean |
isScheduleBaseUom()
Retrieves the value for the attribute isScheduleBaseUom. |
protected boolean |
isScheduleBaseUom(int index)
|
protected void |
removeAccessGrantedByParent()
|
void |
removeAdditionalDescription(String id)
|
ModifySecureObjectResult |
removeAllOwningGroup(RemoveAllOwningGroupParams params)
|
ModifySecureObjectResult |
removeAllOwningGroup(short mode)
|
void |
removeBaseUom()
Removes the value for the optional reference baseUom. |
protected void |
removeContext(String id)
|
void |
removeOwningGroup(int index)
|
ModifySecureObjectResult |
removeOwningGroup(ModifyOwningGroupParams params)
|
ModifySecureObjectResult |
removeOwningGroup(PrincipalGroup group,
short mode)
|
void |
removeOwningUser()
Removes the value for the optional reference owningUser. |
protected void |
removeView(String namespace)
|
protected void |
setAccessGrantedByParent(BasicObject newValue)
|
ModifySecureObjectResult |
setAccessLevel(SetAccessLevelParams params)
|
ModifySecureObjectResult |
setAccessLevel(short accessLevelBrowse,
short accessLevelDelete,
short accessLevelUpdate,
short mode)
|
protected void |
setAccessLevelBrowse(int index,
short newValue)
|
void |
setAccessLevelBrowse(short newValue)
Sets a new value for the attribute accessLevelBrowse. |
protected void |
setAccessLevelDelete(int index,
short newValue)
|
void |
setAccessLevelDelete(short newValue)
Sets a new value for the attribute accessLevelDelete. |
protected void |
setAccessLevelUpdate(int index,
short newValue)
|
void |
setAccessLevelUpdate(short newValue)
Sets a new value for the attribute accessLevelUpdate. |
void |
setAdditionalDescription(Description[] newValue)
|
void |
setAdditionalDescription(List newValue)
|
void |
setBaseUom(Uom newValue)
Sets a new value for the reference baseUom. |
protected void |
setContext(Context[] newValue)
|
protected void |
setContext(List newValue)
|
protected void |
setCreatedAt(Date newValue)
|
protected void |
setCreatedAt(int index,
Date newValue)
|
protected void |
setCreatedBy(Set newValue)
|
protected void |
setCreatedBy(String[] newValue)
|
void |
setDescription(String newValue)
Sets a new value for the attribute description. |
void |
setDetailedDescription(String newValue)
Sets a new value for the attribute detailedDescription. |
protected void |
setIdentity(int index,
String newValue)
|
protected void |
setIdentity(String newValue)
|
protected void |
setModifiedAt(Date newValue)
|
protected void |
setModifiedAt(int index,
Date newValue)
|
protected void |
setModifiedBy(Set newValue)
|
protected void |
setModifiedBy(String[] newValue)
|
protected void |
setName(int index,
String newValue)
|
void |
setName(String newValue)
Sets a new value for the attribute name. |
protected void |
setOwner(List newValue)
|
protected void |
setOwner(String[] newValue)
|
void |
setOwningGroup(List newValue)
|
void |
setOwningGroup(PrincipalGroup[] newValue)
|
ModifySecureObjectResult |
setOwningUser(SetOwningUserParams params)
|
ModifySecureObjectResult |
setOwningUser(short mode,
User user)
|
void |
setOwningUser(User newValue)
Sets a new value for the reference owningUser. |
void |
setQuantity(BigDecimal newValue)
Sets a new value for the attribute quantity. |
protected void |
setQuantity(int index,
BigDecimal newValue)
|
void |
setScheduleBaseUom(boolean newValue)
Sets a new value for the attribute isScheduleBaseUom. |
protected void |
setScheduleBaseUom(int index,
boolean newValue)
|
void |
setUomSchedule(UomSchedule newValue)
Sets a new value for the reference uomSchedule. |
protected void |
setView(List newValue)
|
protected void |
setView(View[] newValue)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 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 |
| Constructor Detail |
|---|
public UomImpl(Object_1_0 object,
RefClass refClass)
| Method Detail |
|---|
public ImportResult importItem(ImportParams params)
throws RefException
importItem in interface ImporterRefException
public ImportResult importItem(byte[] item,
String itemMimeType,
String itemName,
short locale)
throws RefException
importItem in interface ImporterRefExceptionpublic BasicObject getAccessGrantedByParent()
SecureObjectaccessGrantedByParent.
getAccessGrantedByParent in interface SecureObjectprotected void setAccessGrantedByParent(BasicObject newValue)
protected void removeAccessGrantedByParent()
public short getAccessLevelBrowse()
SecureObjectaccessLevelBrowse.
getAccessLevelBrowse in interface SecureObjectaccessLevelBrowse.protected short getAccessLevelBrowse(int index)
public void setAccessLevelBrowse(short newValue)
SecureObjectaccessLevelBrowse.
setAccessLevelBrowse in interface SecureObjectnewValue - The non-null new value for attribute accessLevelBrowse.
protected void setAccessLevelBrowse(int index,
short newValue)
public short getAccessLevelDelete()
SecureObjectaccessLevelDelete.
getAccessLevelDelete in interface SecureObjectaccessLevelDelete.protected short getAccessLevelDelete(int index)
public void setAccessLevelDelete(short newValue)
SecureObjectaccessLevelDelete.
setAccessLevelDelete in interface SecureObjectnewValue - The non-null new value for attribute accessLevelDelete.
protected void setAccessLevelDelete(int index,
short newValue)
public short getAccessLevelUpdate()
SecureObjectaccessLevelUpdate.
getAccessLevelUpdate in interface SecureObjectaccessLevelUpdate.protected short getAccessLevelUpdate(int index)
public void setAccessLevelUpdate(short newValue)
SecureObjectaccessLevelUpdate.
setAccessLevelUpdate in interface SecureObjectnewValue - The non-null new value for attribute accessLevelUpdate.
protected void setAccessLevelUpdate(int index,
short newValue)
public ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams params)
throws RefException
addOwningGroup in interface SecureObjectRefException
public ModifySecureObjectResult addOwningGroup(PrincipalGroup group,
short mode)
throws RefException
addOwningGroup in interface SecureObjectRefExceptionpublic List getOwner()
getOwner in interface SecureObjectpublic String getOwner(int index)
getOwner in interface SecureObjectindex - The index of the element to return.
protected void setOwner(List newValue)
protected void setOwner(String[] newValue)
public void setOwningGroup(List newValue)
public void setOwningGroup(PrincipalGroup[] newValue)
public PrincipalGroup getOwningGroup(int index)
SecureObjectowningGroup for the
specified qualifier attribute value.
getOwningGroup in interface SecureObjectindex - The value for the qualifier attribute that qualifies this reference.
public Collection getOwningGroup()
SecureObjectowningGroup.
getOwningGroup in interface SecureObject
public void addOwningGroup(int index,
PrincipalGroup newValue)
addOwningGroup in interface SecureObjectindex - The qualifier attribute value that qualifies the reference to get the element to be appended.newValue - The element to be appended.public void addOwningGroup(PrincipalGroup newValue)
addOwningGroup in interface SecureObjectnewValue - The element to be appended.public void removeOwningGroup(int index)
removeOwningGroup in interface SecureObjectpublic User getOwningUser()
SecureObjectowningUser.
getOwningUser in interface SecureObjectpublic void setOwningUser(