Package org.ivoa.dm.regtap
Class AltIdentifier
java.lang.Object
org.ivoa.dm.regtap.AltIdentifier
- All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations
,org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
@Entity
@VoDml(id="RegTAP:AltIdentifier",
role=objectType)
public class AltIdentifier
extends Object
implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
An alternate identifier associated with this record.
objectType: AltIdentifier
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A builder class for AltIdentifier, mainly for use in the functional builder pattern. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new AltIdentifierAltIdentifier
(String alt_identifier) full parameter constructor.AltIdentifier
(AltIdentifier other) Copy Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic AltIdentifier
create a AltIdentifier in functional builder style.void
delete
(jakarta.persistence.EntityManager em) void
Returns alt_identifier Attribute.getId()
void
setAlt_identifier
(String pAlt_identifier) Set alt_identifier Attribute.void
updateUsing
(AltIdentifier other) Update this object with the content of the given object.withAlt_identifier
(String pAlt_identifier) fluent setter for alt_identifier Attribute.
-
Field Details
-
_id
inserted database key -
alt_identifier
@VoDml(id="RegTAP:AltIdentifier.alt_identifier", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String alt_identifierAn identifier for the resource or an entity related to the resource in URI form. : Attribute alt_identifier : multiplicity 1
-
-
Constructor Details
-
AltIdentifier
public AltIdentifier()Creates a new AltIdentifier -
AltIdentifier
full parameter constructor.- Parameters:
alt_identifier
- An identifier for the resource or an entity related to the resource in URI form.
-
AltIdentifier
Copy Constructor. Note that references will remain as is rather than be copied.- Parameters:
other
- the object to be copied.
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceorg.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
- Returns:
- the id
-
updateUsing
Update this object with the content of the given object. Note that references will remain as is rather than be copied.- Parameters:
other
- the object to be copied.
-
getAlt_identifier
Returns alt_identifier Attribute.- Returns:
- alt_identifier Attribute
-
setAlt_identifier
Set alt_identifier Attribute.- Parameters:
pAlt_identifier
- value to set
-
withAlt_identifier
fluent setter for alt_identifier Attribute.- Parameters:
pAlt_identifier
- value to set- Returns:
- AltIdentifier
-
createAltIdentifier
create a AltIdentifier in functional builder style.- Parameters:
f
- the functional builder.- Returns:
- an object initialized from the builder.
-
forceLoad
public void forceLoad()- Specified by:
forceLoad
in interfaceorg.ivoa.vodml.jpa.JPAManipulations
-
delete
public void delete(jakarta.persistence.EntityManager em) - Specified by:
delete
in interfaceorg.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
-