@Entity public class PropertyImpl extends SimpleProperty implements Property, Auditable<String>, Comparable<Property>
Property
JPA-Entity
.Property.Type
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) . |
Property.Type |
getType()
Returns the type of this property
|
Date |
getVersion()
Returns the version.
|
int |
hashCode() |
boolean |
isMandatory() |
compareTo, determineType, getBoolean, getChangedValue, getDouble, getFloat, getInteger, getString, getValue, setActualString, setBlob, setClob, setDefaultString, setDescription, setId, setMandatory, setName, setString, setType, setValue, setVersion, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getBoolean, getDouble, getFloat, getInteger, getString
getAuditName
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)
.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()
Versionable
getVersion
in interface Versionable<Date>
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 Nameable
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)
public Property.Type getType()
Property
getType
in interface Property
getType
in class SimpleProperty
Copyright © 2011–2020 aiticon GmbH. All rights reserved.