org.mobicents.examples.convergeddemo.seam.model
Class Category

java.lang.Object
  extended by org.mobicents.examples.convergeddemo.seam.model.Category
All Implemented Interfaces:
java.io.Serializable

@Indexed
public class Category
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Category()
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 int getCategoryId()
           
 java.lang.String getName()
           
 int hashCode()
           
 void setCategoryId(int id)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Category

public Category()
Method Detail

getCategoryId

@DocumentId
public int getCategoryId()

setCategoryId

public void setCategoryId(int id)

getName

@Field(index=TOKENIZED)
public java.lang.String getName()

setName

public void setName(java.lang.String name)

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2010. All Rights Reserved.