org.opencrx.kernel.generic.cci
Interface Rating

All Superinterfaces:
BasicObject, ContextCapable, ExtentCapable, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, SecureObject, ViewCapable
All Known Implementing Classes:
RatingImpl

public interface Rating
extends SecureObject, BasicObject


Method Summary
 String getDescription()
           
 GenericAccount getRatedBy()
          Retrieves the value for the optional reference ratedBy.
 short getRatingLevel()
          Retrieves the value for the attribute ratingLevel.
 Short getRatingType()
           
 void removeRatedBy()
          Removes the value for the optional reference ratedBy.
 void setDescription(String newValue)
          Sets a new value for the attribute description.
 void setRatedBy(GenericAccount newValue)
          Sets a new value for the reference ratedBy.
 void setRatingLevel(short newValue)
          Sets a new value for the attribute ratingLevel.
 void setRatingType(Short newValue)
          Sets a new value for the attribute ratingType.
 
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.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
 

Method Detail

getDescription

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

setDescription

void setDescription(String newValue)
Sets a new value for the attribute description.

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

getRatedBy

GenericAccount getRatedBy()
Retrieves the value for the optional reference ratedBy.

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

setRatedBy

void setRatedBy(GenericAccount newValue)
Sets a new value for the reference ratedBy.

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

removeRatedBy

void removeRatedBy()
Removes the value for the optional reference ratedBy.

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

getRatingLevel

short getRatingLevel()
Retrieves the value for the attribute ratingLevel.

Returns:
The non-null value for attribute ratingLevel.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setRatingLevel

void setRatingLevel(short newValue)
Sets a new value for the attribute ratingLevel.

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

getRatingType

Short getRatingType()
Returns:
The possibly null value for attribute ratingType.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setRatingType

void setRatingType(Short newValue)
Sets a new value for the attribute ratingType.

Parameters:
newValue - The possibly null new value for attribute ratingType.
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.