Class RucioDataResourceBlock

java.lang.Object
org.ivoa.dm.executionbroker.RucioDataResourceBlock
All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations

@Embeddable @VoDml(id="execbroker:RucioDataResourceBlock", role=dataType) public class RucioDataResourceBlock extends Object implements org.ivoa.vodml.jpa.JPAManipulations
A reusable block describing a data resource in a Rucio storage system. dataType: RucioDataResourceBlock
  • Field Details

    • endpoint

      @VoDml(id="execbroker:RucioDataResourceBlock.endpoint", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String endpoint
      The endpoint address of the Rucio service. : Attribute endpoint : multiplicity 1
    • scope

      @VoDml(id="execbroker:RucioDataResourceBlock.scope", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String scope
      The Rucio scope. : Attribute scope : multiplicity 1
    • object

      @VoDml(id="execbroker:RucioDataResourceBlock.object", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String object
      The target object name. : Attribute object : multiplicity 1
    • type

      @VoDml(id="execbroker:RucioDataResourceBlock.type", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String type
      The Rucio data object type. : Attribute type : multiplicity 1
  • Constructor Details

    • RucioDataResourceBlock

      public RucioDataResourceBlock()
      Creates a new RucioDataResourceBlock
    • RucioDataResourceBlock

      public RucioDataResourceBlock(String endpoint, String scope, String object, String type)
      full parameter constructor.
      Parameters:
      endpoint - The endpoint address of the Rucio service.
      scope - The Rucio scope.
      object - The target object name.
      type - The Rucio data object type.
    • RucioDataResourceBlock

      public RucioDataResourceBlock(RucioDataResourceBlock other)
      Copy Constructor. Note that references will remain as is rather than be copied.
      Parameters:
      other - the object to be copied.
  • Method Details

    • updateUsing

      public void updateUsing(RucioDataResourceBlock other)
      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.
    • getEndpoint

      public String getEndpoint()
      Returns endpoint Attribute.
      Returns:
      endpoint Attribute
    • setEndpoint

      public void setEndpoint(String pEndpoint)
      Set endpoint Attribute.
      Parameters:
      pEndpoint - value to set
    • withEndpoint

      public RucioDataResourceBlock withEndpoint(String pEndpoint)
      fluent setter for endpoint Attribute.
      Parameters:
      pEndpoint - value to set
      Returns:
      RucioDataResourceBlock
    • getScope

      public String getScope()
      Returns scope Attribute.
      Returns:
      scope Attribute
    • setScope

      public void setScope(String pScope)
      Set scope Attribute.
      Parameters:
      pScope - value to set
    • withScope

      public RucioDataResourceBlock withScope(String pScope)
      fluent setter for scope Attribute.
      Parameters:
      pScope - value to set
      Returns:
      RucioDataResourceBlock
    • getObject

      public String getObject()
      Returns object Attribute.
      Returns:
      object Attribute
    • setObject

      public void setObject(String pObject)
      Set object Attribute.
      Parameters:
      pObject - value to set
    • withObject

      public RucioDataResourceBlock withObject(String pObject)
      fluent setter for object Attribute.
      Parameters:
      pObject - value to set
      Returns:
      RucioDataResourceBlock
    • getType

      public String getType()
      Returns type Attribute.
      Returns:
      type Attribute
    • setType

      public void setType(String pType)
      Set type Attribute.
      Parameters:
      pType - value to set
    • withType

      public RucioDataResourceBlock withType(String pType)
      fluent setter for type Attribute.
      Parameters:
      pType - value to set
      Returns:
      RucioDataResourceBlock
    • createRucioDataResourceBlock

      create a RucioDataResourceBlock in functional builder style.
      Parameters:
      f - the functional builder.
      Returns:
      an object initialized from the builder.
    • forceLoad

      public void forceLoad()
      Specified by:
      forceLoad in interface org.ivoa.vodml.jpa.JPAManipulations