org.hibernate.test.annotations.cid
Class SomeEntityId

java.lang.Object
  extended by org.hibernate.test.annotations.cid.SomeEntityId
All Implemented Interfaces:
Serializable

@Embeddable
public class SomeEntityId
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
SomeEntityId()
           
SomeEntityId(int id, int version)
           
 
Method Summary
 int getId()
           
 SomeEntity getParent()
           
 int getVersion()
           
 void setId(int id)
           
 void setParent(SomeEntity parent)
           
 void setVersion(int version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SomeEntityId

public SomeEntityId()

SomeEntityId

public SomeEntityId(int id,
                    int version)
Parameters:
i -
j -
Method Detail

getId

public int getId()
Returns:
the id

setId

public void setId(int id)
Parameters:
id - the id to set

getVersion

public int getVersion()
Returns:
the version

setVersion

public void setVersion(int version)
Parameters:
version - the version to set

getParent

public SomeEntity getParent()
Returns:
the parent

setParent

public void setParent(SomeEntity parent)
Parameters:
parent - the parent to set


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.