org.opencrx.kernel.generic.cci2
Interface Rating

All Superinterfaces:
BasicObject, ContextCapable, Creatable, ExtentCapable, Modifiable, SecureObject
All Known Subinterfaces:
Rating
All Known Implementing Classes:
Rating

public interface Rating
extends SecureObject, BasicObject

Class Rating


Nested Class Summary
static interface Rating.Identity
          Object Identity
 
Method Summary
 String getDescription()
          Retrieves the possibly null value for the optional attribute description.
 GenericAccount getRatedBy()
          Retrieves the value for the reference ratedBy.
 short getRatingLevel()
          Retrieves the value for the attribute ratingLevel.
 Short getRatingType()
          Retrieves the possibly null value for the optional attribute ratingType.
 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, checkPermissions, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwner, setOwningUser, setOwningUser
 
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
 

Method Detail

getDescription

String getDescription()
Retrieves the possibly null value for the optional attribute description.

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 new – possibly null – 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()
Retrieves the possibly null value for the optional attribute ratingType.

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.


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