Class MyUntypedData
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.implementation.MyUntypedData
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UntypedData>
- Direct Known Subclasses:
MyCheckSum
,MyCheckSumType
,MyDataFormat
,MyDataSize
,MyDataType
,MyDateEvents
,MyDirectoryMetaData
,MyEdalLanguage
,MyEmptyMetaData
,MyIdentifier
,MyIdentifierRelation
,MyPerson
,MySubjects
,MyUnknownMetaData
@Entity @Indexed(index="UntypedData") public class MyUntypedData extends UntypedData implements java.io.Serializable
Internal representation ofUntypedData
for persistence with HIBERNATE.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData
ALL_RIGHTS_RESERVED, EMPTY, string
-
-
Constructor Summary
Constructors Constructor Description MyUntypedData()
Default constructor forMyUntypedData
is necessary for PojoInstantiator of HIBERNATE.MyUntypedData(UntypedData edal)
Copy constructor to convert publicUntypedData
to privateMyUntypedData
.MyUntypedData(java.lang.String string)
Constructor for MyUntypedData with specified string.
-
-
-
Constructor Detail
-
MyUntypedData
public MyUntypedData()
Default constructor forMyUntypedData
is necessary for PojoInstantiator of HIBERNATE.
-
MyUntypedData
public MyUntypedData(java.lang.String string)
Constructor for MyUntypedData with specified string.- Parameters:
string
- aString
object.
-
MyUntypedData
public MyUntypedData(UntypedData edal)
Copy constructor to convert publicUntypedData
to privateMyUntypedData
.- Parameters:
edal
- the EDAL publicUntypedData
object to be cloned
-
-
Method Detail
-
getId
public int getId()
Getter for the id.- Returns:
- a int.
-
getString
@Field(index=YES, store=YES) public java.lang.String getString()
Getter for the field_string
.Index.TOKENIZED = ignore case
'@Analyzer(impl=WhitespaceAnalyzer.class)'
WhitespaceAnalyzer is necessary to find object with dots at the beginning
- Overrides:
getString
in classUntypedData
- Returns:
- a
String
object.
-
setId
public void setId(int id)
Setter for the id.- Parameters:
id
- a int.
-
setString
public void setString(java.lang.String string)
Setter for the field_string
.- Overrides:
setString
in classUntypedData
- Parameters:
string
- aString
object.
-
-