org.hibernate.test.annotations.any
Class LongProperty

java.lang.Object
  extended by org.hibernate.test.annotations.any.LongProperty
All Implemented Interfaces:
Property

@Entity
public class LongProperty
extends Object
implements Property


Constructor Summary
LongProperty()
           
LongProperty(String name, Long value)
           
 
Method Summary
 String asString()
           
 Integer getId()
           
 String getName()
           
 Long getValue()
           
 void setId(Integer id)
           
 void setName(String name)
           
 void setValue(Long value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongProperty

public LongProperty()

LongProperty

public LongProperty(String name,
                    Long value)
Method Detail

asString

public String asString()
Specified by:
asString in interface Property

getName

public String getName()
Specified by:
getName in interface Property

getId

public Integer getId()

setId

public void setId(Integer id)

getValue

public Long getValue()

setValue

public void setValue(Long value)

setName

public void setName(String name)


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