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
-
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)
-
getString5
public String getString5()
-
setString5
public void setString5(String string5)
-
getString6
public String getString6()
-
setString6
public void setString6(String string6)
-
getString7
public String getString7()
-
setString7
public void setString7(String string7)
-
getString8
public String getString8()
-
setString8
public void setString8(String string8)
-
-