org.hibernate.test.annotations.any
Class StringProperty

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

@Entity
public class StringProperty
extends Object
implements Property


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

Constructor Detail

StringProperty

public StringProperty()

StringProperty

public StringProperty(String name,
                      String value)
Method Detail

getId

public Integer getId()

setId

public void setId(Integer id)

getName

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

asString

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

getValue

public String getValue()

setValue

public void setValue(String value)

setName

public void setName(String name)


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