org.opencrx.kernel.generic.cci2
Interface Rating

All Superinterfaces:
org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, SecureObject, org.openmdx.compatibility.view1.cci2.ViewCapable
All Known Subinterfaces:
Rating
All Known Implementing Classes:
Rating

public interface Rating
extends SecureObject, org.openmdx.base.cci2.BasicObject

Class Rating


Nested Class Summary
static interface Rating.Identity
          Object Identity
 
Method Summary
 String getDescription()
           
 GenericAccount getRatedBy()
          Retrieves the value for the reference ratedBy.
 short getRatingLevel()
          Retrieves the value for the attribute ratingLevel.
 Short getRatingType()
           
 void setCrxObject(CrxObject crxObject)
          Sets a new value for the reference crxObject.
 void setCrxObject(CrxObject crxObject, boolean idIsPersistent, String id)
          Set the object's composite association org:opencrx:kernel:generic:CrxObjectHasRating.
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setRatedBy(GenericAccount ratedBy)
          Sets a new value for the reference ratedBy.
 void setRatingLevel(short ratingLevel)
          Sets a new value for the attribute ratingLevel.
 void setRatingType(Short ratingType)
          Sets a new value for the attribute ratingType.
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
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
 

Method Detail

getDescription

String getDescription()
Returns:
The possibly null value for attribute description.

setDescription

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

Parameters:
description - The possibly null new value for attribute description.

getRatedBy

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

Returns:
The – possibly null – value for this reference.

setRatedBy

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

Parameters:
ratedBy - The non-null new value for this reference.

getRatingLevel

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

Returns:
The non-null value for attribute ratingLevel.

setRatingLevel

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

Parameters:
ratingLevel - The non-null new value for attribute ratingLevel.

getRatingType

Short getRatingType()
Returns:
The possibly null value for attribute ratingType.

setRatingType

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

Parameters:
ratingType - The possibly null new value for attribute ratingType.

setCrxObject

void setCrxObject(CrxObject crxObject)
Sets a new value for the reference crxObject.

Parameters:
crxObject - The non-null new value for this reference.

setCrxObject

void setCrxObject(CrxObject crxObject,
                  boolean idIsPersistent,
                  String id)
Set the object's composite association org:opencrx:kernel:generic:CrxObjectHasRating.

Parameters:
crxObject - The non-null new value for this object's composite owner.
idIsPersistent - Defines whether the id is persistent.
id - The non-null new value for this object's qualifier.


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