org.hibernate.envers.test.integration.inheritance.single.discriminatorformula
Class ParentEntity

java.lang.Object
  extended by org.hibernate.envers.test.integration.inheritance.single.discriminatorformula.ParentEntity
Direct Known Subclasses:
ChildEntity

@Entity
public class ParentEntity
extends Object


Field Summary
protected  String data
           
static String DISCRIMINATOR_QUERY
           
protected  Long id
           
protected  Long typeId
           
 
Constructor Summary
ParentEntity()
           
ParentEntity(Long id, Long typeId, String data)
           
ParentEntity(Long typeId, String data)
           
 
Method Summary
 boolean equals(Object o)
           
 String getData()
           
 Long getId()
           
 Long getTypeId()
           
 int hashCode()
           
 void setData(String data)
           
 void setId(Long id)
           
 void setTypeId(Long typeId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DISCRIMINATOR_QUERY

public static final String DISCRIMINATOR_QUERY
See Also:
Constant Field Values

id

protected Long id

typeId

protected Long typeId

data

protected String data
Constructor Detail

ParentEntity

public ParentEntity()

ParentEntity

public ParentEntity(Long typeId,
                    String data)

ParentEntity

public ParentEntity(Long id,
                    Long typeId,
                    String data)
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

getId

public Long getId()

setId

public void setId(Long id)

getTypeId

public Long getTypeId()

setTypeId

public void setTypeId(Long typeId)

getData

public String getData()

setData

public void setData(String data)


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