Package org.ivoa.dm.regtap
Class Detail
java.lang.Object
org.ivoa.dm.regtap.Detail
- All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations
,org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
@Entity
@VoDml(id="RegTAP:Detail",
role=objectType)
public class Detail
extends Object
implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
XPath-value pairs for members of resource or capability and their derivations that are less used and/or
from VOResource extensions.
objectType: Detail
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A builder class for Detail, mainly for use in the functional builder pattern. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Detail
create a Detail in functional builder style.void
delete
(jakarta.persistence.EntityManager em) void
Returns cap_index Attribute.Returns detail_value Attribute.Returns detail_xpath Attribute.getId()
void
setCap_index
(Integer pCap_index) Set cap_index Attribute.void
setDetail_value
(String pDetail_value) Set detail_value Attribute.void
setDetail_xpath
(String pDetail_xpath) Set detail_xpath Attribute.void
updateUsing
(Detail other) Update this object with the content of the given object.withCap_index
(Integer pCap_index) fluent setter for cap_index Attribute.withDetail_value
(String pDetail_value) fluent setter for detail_value Attribute.withDetail_xpath
(String pDetail_xpath) fluent setter for detail_xpath Attribute.
-
Field Details
-
_id
inserted database key -
cap_index
@VoDml(id="RegTAP:Detail.cap_index", role=attribute, type="ivoa:nonnegativeInteger", typeRole=primitiveType) protected Integer cap_indexThe index of the parent capability; if NULL the xpath-value pair describes a member of the entire resource. : Attribute cap_index : multiplicity 0..1 -
detail_xpath
@VoDml(id="RegTAP:Detail.detail_xpath", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String detail_xpathThe xpath of the data item. : Attribute detail_xpath : multiplicity 1 -
detail_value
@VoDml(id="RegTAP:Detail.detail_value", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String detail_value(Atomic) value of the member. : Attribute detail_value : multiplicity 1
-
-
Constructor Details
-
Detail
public Detail()Creates a new Detail -
Detail
full parameter constructor.- Parameters:
cap_index
- The index of the parent capability; if NULL the xpath-value pair describes a member of the entire resource.detail_xpath
- The xpath of the data item.detail_value
- (Atomic) value of the member.
-
Detail
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.
-
getCap_index
Returns cap_index Attribute.- Returns:
- cap_index Attribute
-
setCap_index
Set cap_index Attribute.- Parameters:
pCap_index
- value to set
-
withCap_index
fluent setter for cap_index Attribute.- Parameters:
pCap_index
- value to set- Returns:
- Detail
-
getDetail_xpath
Returns detail_xpath Attribute.- Returns:
- detail_xpath Attribute
-
setDetail_xpath
Set detail_xpath Attribute.- Parameters:
pDetail_xpath
- value to set
-
withDetail_xpath
fluent setter for detail_xpath Attribute.- Parameters:
pDetail_xpath
- value to set- Returns:
- Detail
-
getDetail_value
Returns detail_value Attribute.- Returns:
- detail_value Attribute
-
setDetail_value
Set detail_value Attribute.- Parameters:
pDetail_value
- value to set
-
withDetail_value
fluent setter for detail_value Attribute.- Parameters:
pDetail_value
- value to set- Returns:
- Detail
-
createDetail
create a Detail 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>
-