@Entity public class PropertyImpl extends SimpleProperty implements Property, Identifiable<String>, Comparable<Property>
Property
JPA-Entity
.Constructor and Description |
---|
PropertyImpl() |
PropertyImpl(String name,
String value) |
PropertyImpl(String name,
String value,
String defaultValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getActualString() |
byte[] |
getBlob()
If this
Property contains BLOB data, this data is being returned. |
String |
getClob()
If this
Property contains CLOB data, this data is being returned. |
String |
getDefaultString()
Returns the default
String -value of this Property . |
String |
getDescription()
Returns the description of this
Property . |
String |
getId()
Returns the id.
|
@NotNull(message="{validation.notNull}") @Size(min=3,max=255,message="{validation.string.min.max}") String |
getName()
Returns the name of this
Property , as used in Properties.getXXX(String) . |
Date |
getVersion() |
int |
hashCode() |
boolean |
isMandatory() |
compareTo, getBoolean, getChangedValue, getDouble, getFloat, getInteger, getString, setActualString, setBlob, setClob, setDefaultString, setDescription, setId, setMandatory, setName, setString, setVersion, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getBoolean, getDouble, getFloat, getInteger, getString
compareTo
@NotNull(message="{validation.notNull}") @Size(min=3, max=255, message="{validation.string.min.max}") public @NotNull(message="{validation.notNull}") @Size(min=3,max=255,message="{validation.string.min.max}") String getName()
Property
Property
, as used in Properties.getXXX(String)
.getName
in interface Property
getName
in class SimpleProperty
public boolean isMandatory()
isMandatory
in interface Property
isMandatory
in class SimpleProperty
public String getId()
Identifiable
getId
in interface Identifiable<String>
getId
in class SimpleProperty
public Date getVersion()
getVersion
in class SimpleProperty
public String getActualString()
getActualString
in class SimpleProperty
public String getDefaultString()
Property
String
-value of this Property
.getDefaultString
in interface Property
getDefaultString
in class SimpleProperty
String
-valuepublic String getDescription()
Property
Property
.getDescription
in interface Property
getDescription
in class SimpleProperty
public byte[] getBlob()
Property
Property
contains BLOB data, this data is being returned.getBlob
in interface Property
getBlob
in class SimpleProperty
null
)Properties.getBlob(String)
public String getClob()
Property
Property
contains CLOB data, this data is being returned.getClob
in interface Property
getClob
in class SimpleProperty
null
)Properties.getClob(String)
,
Properties.getClob(String, String)
Copyright © 2011–2017 aiticon GmbH. All rights reserved.