org.hibernate.test.annotations.cid
Class SomeEntityId
java.lang.Object
org.hibernate.test.annotations.cid.SomeEntityId
- All Implemented Interfaces:
- Serializable
@Embeddable
public class SomeEntityId
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SomeEntityId
public SomeEntityId()
SomeEntityId
public SomeEntityId(int id,
int version)
- Parameters:
i
- j
-
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.