Package org.ivoa.dm.executionbroker
Class IvoaDataLinkItem
java.lang.Object
org.ivoa.dm.executionbroker.IvoaDataLinkItem
- All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations,org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
@Entity
@VoDml(id="execbroker:IvoaDataLinkItem",
role=objectType)
public class IvoaDataLinkItem
extends Object
implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
A row of DataLink metadata about the resource.
objectType: IvoaDataLinkItem
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for IvoaDataLinkItem, mainly for use in the functional builder pattern. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Longinserted database keyprotected String.protected Integer.protected String.protected String.protected String.protected String.protected String.protected String.protected String.protected String.protected String.protected String. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new IvoaDataLinkItemIvoaDataLinkItem(String LinkID, String access_url, String service_def, String error_message, String description, String semantics, String content_type, Integer content_length, String content_qualifier, String local_semantics, String link_auth, String link_authorized) full parameter constructor.IvoaDataLinkItem(IvoaDataLinkItem other) Copy Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic IvoaDataLinkItemcreate a IvoaDataLinkItem in functional builder style.voiddelete(jakarta.persistence.EntityManager em) voidReturns access_url Attribute.Returns content_length Attribute.Returns content_qualifier Attribute.Returns content_type Attribute.Returns description Attribute.Returns error_message Attribute.getId()Returns link_auth Attribute.Returns link_authorized Attribute.Returns LinkID Attribute.Returns local_semantics Attribute.Returns semantics Attribute.Returns service_def Attribute.voidsetAccess_url(String pAccess_url) Set access_url Attribute.voidsetContent_length(Integer pContent_length) Set content_length Attribute.voidsetContent_qualifier(String pContent_qualifier) Set content_qualifier Attribute.voidsetContent_type(String pContent_type) Set content_type Attribute.voidsetDescription(String pDescription) Set description Attribute.voidsetError_message(String pError_message) Set error_message Attribute.voidsetLink_auth(String pLink_auth) Set link_auth Attribute.voidsetLink_authorized(String pLink_authorized) Set link_authorized Attribute.voidSet LinkID Attribute.voidsetLocal_semantics(String pLocal_semantics) Set local_semantics Attribute.voidsetSemantics(String pSemantics) Set semantics Attribute.voidsetService_def(String pService_def) Set service_def Attribute.voidupdateUsing(IvoaDataLinkItem other) Update this object with the content of the given object.withAccess_url(String pAccess_url) fluent setter for access_url Attribute.withContent_length(Integer pContent_length) fluent setter for content_length Attribute.withContent_qualifier(String pContent_qualifier) fluent setter for content_qualifier Attribute.withContent_type(String pContent_type) fluent setter for content_type Attribute.withDescription(String pDescription) fluent setter for description Attribute.withError_message(String pError_message) fluent setter for error_message Attribute.withLink_auth(String pLink_auth) fluent setter for link_auth Attribute.withLink_authorized(String pLink_authorized) fluent setter for link_authorized Attribute.withLinkID(String pLinkID) fluent setter for LinkID Attribute.withLocal_semantics(String pLocal_semantics) fluent setter for local_semantics Attribute.withSemantics(String pSemantics) fluent setter for semantics Attribute.withService_def(String pService_def) fluent setter for service_def Attribute.
-
Field Details
-
_id
inserted database key -
LinkID
@VoDml(id="execbroker:IvoaDataLinkItem.LinkID", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String LinkID. : Attribute LinkID : multiplicity 1 -
access_url
@VoDml(id="execbroker:IvoaDataLinkItem.access_url", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String access_url. : Attribute access_url : multiplicity 1 -
service_def
@VoDml(id="execbroker:IvoaDataLinkItem.service_def", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String service_def. : Attribute service_def : multiplicity 1 -
error_message
@VoDml(id="execbroker:IvoaDataLinkItem.error_message", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String error_message. : Attribute error_message : multiplicity 1 -
description
@VoDml(id="execbroker:IvoaDataLinkItem.description", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String description. : Attribute description : multiplicity 1 -
semantics
@VoDml(id="execbroker:IvoaDataLinkItem.semantics", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String semantics. : Attribute semantics : multiplicity 1 -
content_type
@VoDml(id="execbroker:IvoaDataLinkItem.content_type", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String content_type. : Attribute content_type : multiplicity 1 -
content_length
@VoDml(id="execbroker:IvoaDataLinkItem.content_length", role=attribute, type="ivoa:integer", typeRole=primitiveType) protected Integer content_length. : Attribute content_length : multiplicity 1 -
content_qualifier
@VoDml(id="execbroker:IvoaDataLinkItem.content_qualifier", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String content_qualifier. : Attribute content_qualifier : multiplicity 1 -
local_semantics
@VoDml(id="execbroker:IvoaDataLinkItem.local_semantics", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String local_semantics. : Attribute local_semantics : multiplicity 1 -
link_auth
@VoDml(id="execbroker:IvoaDataLinkItem.link_auth", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String link_auth. : Attribute link_auth : multiplicity 1 -
link_authorized
@VoDml(id="execbroker:IvoaDataLinkItem.link_authorized", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String link_authorized. : Attribute link_authorized : multiplicity 1
-
-
Constructor Details
-
IvoaDataLinkItem
public IvoaDataLinkItem()Creates a new IvoaDataLinkItem -
IvoaDataLinkItem
public IvoaDataLinkItem(String LinkID, String access_url, String service_def, String error_message, String description, String semantics, String content_type, Integer content_length, String content_qualifier, String local_semantics, String link_auth, String link_authorized) full parameter constructor.- Parameters:
LinkID- .access_url- .service_def- .error_message- .description- .semantics- .content_type- .content_length- .content_qualifier- .local_semantics- .link_auth- .link_authorized- .
-
IvoaDataLinkItem
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:
getIdin 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.
-
getLinkID
Returns LinkID Attribute.- Returns:
- LinkID Attribute
-
setLinkID
Set LinkID Attribute.- Parameters:
pLinkID- value to set
-
withLinkID
fluent setter for LinkID Attribute.- Parameters:
pLinkID- value to set- Returns:
- IvoaDataLinkItem
-
getAccess_url
Returns access_url Attribute.- Returns:
- access_url Attribute
-
setAccess_url
Set access_url Attribute.- Parameters:
pAccess_url- value to set
-
withAccess_url
fluent setter for access_url Attribute.- Parameters:
pAccess_url- value to set- Returns:
- IvoaDataLinkItem
-
getService_def
Returns service_def Attribute.- Returns:
- service_def Attribute
-
setService_def
Set service_def Attribute.- Parameters:
pService_def- value to set
-
withService_def
fluent setter for service_def Attribute.- Parameters:
pService_def- value to set- Returns:
- IvoaDataLinkItem
-
getError_message
Returns error_message Attribute.- Returns:
- error_message Attribute
-
setError_message
Set error_message Attribute.- Parameters:
pError_message- value to set
-
withError_message
fluent setter for error_message Attribute.- Parameters:
pError_message- value to set- Returns:
- IvoaDataLinkItem
-
getDescription
Returns description Attribute.- Returns:
- description Attribute
-
setDescription
Set description Attribute.- Parameters:
pDescription- value to set
-
withDescription
fluent setter for description Attribute.- Parameters:
pDescription- value to set- Returns:
- IvoaDataLinkItem
-
getSemantics
Returns semantics Attribute.- Returns:
- semantics Attribute
-
setSemantics
Set semantics Attribute.- Parameters:
pSemantics- value to set
-
withSemantics
fluent setter for semantics Attribute.- Parameters:
pSemantics- value to set- Returns:
- IvoaDataLinkItem
-
getContent_type
Returns content_type Attribute.- Returns:
- content_type Attribute
-
setContent_type
Set content_type Attribute.- Parameters:
pContent_type- value to set
-
withContent_type
fluent setter for content_type Attribute.- Parameters:
pContent_type- value to set- Returns:
- IvoaDataLinkItem
-
getContent_length
Returns content_length Attribute.- Returns:
- content_length Attribute
-
setContent_length
Set content_length Attribute.- Parameters:
pContent_length- value to set
-
withContent_length
fluent setter for content_length Attribute.- Parameters:
pContent_length- value to set- Returns:
- IvoaDataLinkItem
-
getContent_qualifier
Returns content_qualifier Attribute.- Returns:
- content_qualifier Attribute
-
setContent_qualifier
Set content_qualifier Attribute.- Parameters:
pContent_qualifier- value to set
-
withContent_qualifier
fluent setter for content_qualifier Attribute.- Parameters:
pContent_qualifier- value to set- Returns:
- IvoaDataLinkItem
-
getLocal_semantics
Returns local_semantics Attribute.- Returns:
- local_semantics Attribute
-
setLocal_semantics
Set local_semantics Attribute.- Parameters:
pLocal_semantics- value to set
-
withLocal_semantics
fluent setter for local_semantics Attribute.- Parameters:
pLocal_semantics- value to set- Returns:
- IvoaDataLinkItem
-
getLink_auth
Returns link_auth Attribute.- Returns:
- link_auth Attribute
-
setLink_auth
Set link_auth Attribute.- Parameters:
pLink_auth- value to set
-
withLink_auth
fluent setter for link_auth Attribute.- Parameters:
pLink_auth- value to set- Returns:
- IvoaDataLinkItem
-
getLink_authorized
Returns link_authorized Attribute.- Returns:
- link_authorized Attribute
-
setLink_authorized
Set link_authorized Attribute.- Parameters:
pLink_authorized- value to set
-
withLink_authorized
fluent setter for link_authorized Attribute.- Parameters:
pLink_authorized- value to set- Returns:
- IvoaDataLinkItem
-
createIvoaDataLinkItem
public static IvoaDataLinkItem createIvoaDataLinkItem(Consumer<IvoaDataLinkItem.IvoaDataLinkItemBuilder> f) create a IvoaDataLinkItem in functional builder style.- Parameters:
f- the functional builder.- Returns:
- an object initialized from the builder.
-
forceLoad
public void forceLoad()- Specified by:
forceLoadin interfaceorg.ivoa.vodml.jpa.JPAManipulations
-
delete
public void delete(jakarta.persistence.EntityManager em) - Specified by:
deletein interfaceorg.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
-