CFEngine API

org.recommender.clients.console
Class Type

java.lang.Object
  |
  +--org.recommender.clients.console.Type

public class Type
extends java.lang.Object

A Type is a category of items. Types allow you to create clusters of related items. For example, in movies, you can have types be genres, so that movies of similar genres are grouped together. The primary purpose is to allow you to get predictions by type. For example, you can get the top recommendations among comedy movies. Created by User: herlock Date: Apr 16, 2003 Time: 9:06:46 AM


Constructor Summary
Type(int typeId, java.lang.String typeName)
           
 
Method Summary
 int getTypeId()
           
 java.lang.String getTypeName()
           
 void setTypeId(int typeId)
           
 void setTypeName(java.lang.String typeName)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Type

public Type(int typeId,
            java.lang.String typeName)
Method Detail

getTypeId

public int getTypeId()

setTypeId

public void setTypeId(int typeId)

getTypeName

public java.lang.String getTypeName()

setTypeName

public void setTypeName(java.lang.String typeName)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

CFEngine API

Copyright © 2003 - Oregon State University www.orst.edu