Class MyIdentifierRelation
- 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.MyIdentifierRelation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UntypedData>
@Entity @Indexed public final class MyIdentifierRelation extends MyUntypedData
Internal representation ofIdentifierRelation
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 MyIdentifierRelation()
Default constructor forMyIdentifierRelation
is necessary for PojoInstantiator of HIBERNATE.MyIdentifierRelation(UntypedData edal)
Copy constructor to convert publicIdentifierRelation
to privateMyIdentifierRelation
.
-
Method Summary
Modifier and Type Method Description java.util.List<MyIdentifier>
getRelations()
Getter for the fieldrelations
.void
setRelations(java.util.List<MyIdentifier> relations)
Setter for the fieldrelations
.IdentifierRelation
toIdentifierRelation()
Convert thisMyIdentifierRelation
to a publicIdentifierRelation
.-
Methods inherited from class de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.implementation.MyUntypedData
getId, getString, setId, setString
-
-
-
-
Constructor Detail
-
MyIdentifierRelation
public MyIdentifierRelation()
Default constructor forMyIdentifierRelation
is necessary for PojoInstantiator of HIBERNATE.
-
MyIdentifierRelation
public MyIdentifierRelation(UntypedData edal)
Copy constructor to convert publicIdentifierRelation
to privateMyIdentifierRelation
.- Parameters:
edal
- the EDAL publicUntypedData
object to be cloned
-
-
Method Detail
-
getRelations
public java.util.List<MyIdentifier> getRelations()
Getter for the fieldrelations
.- Returns:
- a
List
object.
-
setRelations
public void setRelations(java.util.List<MyIdentifier> relations)
Setter for the fieldrelations
.- Parameters:
relations
- aList
object.
-
toIdentifierRelation
public IdentifierRelation toIdentifierRelation()
Convert thisMyIdentifierRelation
to a publicIdentifierRelation
.- Returns:
- a
IdentifierRelation
object.
-
-