Package com.logicaldoc.core.generic
Class Generic
- java.lang.Object
-
- com.logicaldoc.core.PersistentObject
-
- com.logicaldoc.core.metadata.ExtensibleObject
-
- com.logicaldoc.core.generic.Generic
-
- All Implemented Interfaces:
Comparable<Generic>
public class Generic extends ExtensibleObject implements Comparable<Generic>
Instances of this class represents generic informations in the database. Use this Business entity to store configurations or stuffs like this.
Each Generic is identified by a type and subtype- Since:
- 4.0
- Author:
- Marco Meschieri - LogicalDOC
-
-
Field Summary
-
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Generic o)
Date
getDate1()
Date
getDate2()
String
getDisplayString1()
Double
getDouble1()
Double
getDouble2()
Long
getInteger1()
Long
getInteger2()
Long
getInteger3()
Long
getQualifier()
String
getString1()
String
getString2()
String
getString3()
String
getString4()
String
getSubtype()
String
getType()
void
setDate1(Date date1)
void
setDate2(Date date2)
void
setDouble1(Double double1)
void
setDouble2(Double double2)
void
setInteger1(Long integer1)
void
setInteger2(Long integer2)
void
setInteger3(Long integer3)
void
setQualifier(Long qualifier)
void
setString1(String string1)
void
setString2(String string2)
void
setString3(String string3)
void
setString4(String string4)
void
setSubtype(String subtype)
void
setType(String type)
-
Methods inherited from class com.logicaldoc.core.metadata.ExtensibleObject
getAttribute, getAttributeAtPosition, getAttributeNames, getAttributeNames, getAttributes, getValue, getValueAttributes, getValues, removeAttribute, setAttribute, setAttributes, setValue, setValues
-
Methods inherited from class com.logicaldoc.core.PersistentObject
equals, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, hashCode, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
-
-
-
Method Detail
-
getType
public String getType()
-
setType
public void setType(String type)
-
getSubtype
public String getSubtype()
-
setSubtype
public void setSubtype(String subtype)
-
getString1
public String getString1()
-
setString1
public void setString1(String string1)
-
getString2
public String getString2()
-
setString2
public void setString2(String string2)
-
getInteger1
public Long getInteger1()
-
setInteger1
public void setInteger1(Long integer1)
-
getInteger2
public Long getInteger2()
-
setInteger2
public void setInteger2(Long integer2)
-
getDouble1
public Double getDouble1()
-
setDouble1
public void setDouble1(Double double1)
-
getDouble2
public Double getDouble2()
-
setDouble2
public void setDouble2(Double double2)
-
getDate1
public Date getDate1()
-
setDate1
public void setDate1(Date date1)
-
getDate2
public Date getDate2()
-
setDate2
public void setDate2(Date date2)
-
compareTo
public int compareTo(Generic o)
- Specified by:
compareTo
in interfaceComparable<Generic>
-
getDisplayString1
public String getDisplayString1()
-
getString3
public String getString3()
-
setString3
public void setString3(String string3)
-
getInteger3
public Long getInteger3()
-
setInteger3
public void setInteger3(Long integer3)
-
getQualifier
public Long getQualifier()
-
setQualifier
public void setQualifier(Long qualifier)
-
getString4
public String getString4()
-
setString4
public void setString4(String string4)
-
-