Class MyIdentifier
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.implementation.MyUntypedData
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.implementation.MyIdentifier
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UntypedData>
@Entity @Indexed public final class MyIdentifier extends MyUntypedData
Internal representation ofIdentifier
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 MyIdentifier()
Default constructor forMyIdentifier
is necessary for PojoInstantiator of HIBERNATE.MyIdentifier(Identifier id)
Constructor forMyIdentifier
from aIdentifier
object.MyIdentifier(UntypedData edal)
Copy constructor to convert publicIdentifier
to privateMyIdentifier
.
-
Method Summary
Modifier and Type Method Description java.lang.String
getIdentifier()
Getter for the fieldidentifier
.void
setIdentifier(java.lang.String identifier)
Setter for the fieldidentifier
.Identifier
toIdentifier()
Convert thisMyIdentifier
to a publicIdentifier
.java.lang.String
toString()
-
Methods inherited from class de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.implementation.MyUntypedData
getId, getString, setId, setString
-
Methods inherited from class de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData
compareTo, equals, hashCode, toHTML
-
-
-
-
Constructor Detail
-
MyIdentifier
public MyIdentifier()
Default constructor forMyIdentifier
is necessary for PojoInstantiator of HIBERNATE.
-
MyIdentifier
public MyIdentifier(Identifier id)
Constructor forMyIdentifier
from aIdentifier
object.- Parameters:
id
- aIdentifier
object.
-
MyIdentifier
public MyIdentifier(UntypedData edal)
Copy constructor to convert publicIdentifier
to privateMyIdentifier
.- Parameters:
edal
- the EDAL publicUntypedData
object to be cloned
-
-
Method Detail
-
getIdentifier
@Field(index=YES, store=YES) public final java.lang.String getIdentifier()
Getter for the fieldidentifier
.- Returns:
- the identifier
-
setIdentifier
public final void setIdentifier(java.lang.String identifier)
Setter for the fieldidentifier
.- Parameters:
identifier
- the identifier to set
-
toIdentifier
public final Identifier toIdentifier()
Convert thisMyIdentifier
to a publicIdentifier
.- Returns:
- a
Identifier
object.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classUntypedData
-
-