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 ofUntypedDatafor 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 forMyUntypedDatais necessary for PojoInstantiator of HIBERNATE.MyUntypedData(UntypedData edal)Copy constructor to convert publicUntypedDatato privateMyUntypedData.MyUntypedData(java.lang.String string)Constructor for MyUntypedData with specified string.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetId()Getter for the id.java.lang.StringgetString()Getter for the field_string.voidsetId(int id)Setter for the id.voidsetString(java.lang.String string)Setter for the field_string.
-
-
-
Constructor Detail
-
MyUntypedData
public MyUntypedData()
Default constructor forMyUntypedDatais necessary for PojoInstantiator of HIBERNATE.
-
MyUntypedData
public MyUntypedData(java.lang.String string)
Constructor for MyUntypedData with specified string.- Parameters:
string- aStringobject.
-
MyUntypedData
public MyUntypedData(UntypedData edal)
Copy constructor to convert publicUntypedDatato privateMyUntypedData.- Parameters:
edal- the EDAL publicUntypedDataobject 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:
getStringin classUntypedData- Returns:
- a
Stringobject.
-
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:
setStringin classUntypedData- Parameters:
string- aStringobject.
-
-