Klasse ProductArchive

java.lang.Object
de.dlr.proseo.model.PersistentObject
de.dlr.proseo.model.ProductArchive

@Entity public class ProductArchive extends PersistentObject
Available archive locations for input products or auxiliary files. Product archives are by design mission-neutral, but the credentials may actually restrict an archive to a specific mission. In such a case, if the same endpoint shall be used for multiple missions, the product archives must be differentiated in their short codes.
Autor:
Dr. Thomas Bassler
  • Konstruktordetails

    • ProductArchive

      public ProductArchive()
  • Methodendetails

    • getCode

      public String getCode()
      Gets the archive short code
      Gibt zurück:
      the code
    • setCode

      public void setCode(String code)
      Sets the archive short code
      Parameter:
      code - the code to set
    • getName

      public String getName()
      Gets the descriptive name for the archive
      Gibt zurück:
      the name
    • setName

      public void setName(String name)
      Sets the descriptive name for the archive
      Parameter:
      name - the name to set
    • getArchiveType

      public ArchiveType getArchiveType()
      Gets the archive type
      Gibt zurück:
      the archive type
    • setArchiveType

      public void setArchiveType(ArchiveType archiveType)
      Sets the archive type
      Parameter:
      archiveType - the archive type to set
    • getBaseUri

      public String getBaseUri()
      Gets the base URI for the archive endpoint
      Gibt zurück:
      the base URI
    • setBaseUri

      public void setBaseUri(String baseUri)
      Sets the base URI for the archive endpoint
      Parameter:
      baseUri - the base URI to set
    • getContext

      public String getContext()
      Gets the URI context for the archive endpoint
      Gibt zurück:
      the URI context
    • setContext

      public void setContext(String context)
      Sets the URI context for the archive endpoint
      Parameter:
      context - the URI context to set
    • getTokenRequired

      public Boolean getTokenRequired()
      Indicates whether token-based authentication shall be used
      Gibt zurück:
      true, if token-based authentication is required, false otherwise
    • isTokenRequired

      public Boolean isTokenRequired()
      Indicates whether token-based authentication shall be used (alias for getTokenRequired())
      Gibt zurück:
      true, if token-based authentication is required, false otherwise
    • setTokenRequired

      public void setTokenRequired(Boolean tokenRequired)
      Sets whether token-based authentication shall be used
      Parameter:
      tokenRequired - set to true, if token-based authentication is required, and to false otherwise
    • getTokenUri

      public String getTokenUri()
      Gets the URI for the token request endpoint
      Gibt zurück:
      the token request URI
    • setTokenUri

      public void setTokenUri(String tokenUri)
      Sets the URI for the token request endpoint
      Parameter:
      tokenUri - the token request URI to set
    • getUsername

      public String getUsername()
      Gets the user name for Basic Authentication
      Gibt zurück:
      the user name
    • setUsername

      public void setUsername(String username)
      Sets the user name for Basic Authentication
      Parameter:
      username - the user name to set
    • getPassword

      public String getPassword()
      Gets the password for Basic Authentication
      Gibt zurück:
      the password
    • setPassword

      public void setPassword(String password)
      Sets the password for Basic Authentication
      Parameter:
      password - the password to set
    • getClientId

      public String getClientId()
      Gets the client ID for OpenID token requests
      Gibt zurück:
      the client ID
    • setClientId

      public void setClientId(String clientId)
      Sets the client ID for OpenID token requests
      Parameter:
      clientId - the client ID to set
    • getClientSecret

      public String getClientSecret()
      Gets the client secret for OpenID token requests
      Gibt zurück:
      the client secret
    • setClientSecret

      public void setClientSecret(String clientSecret)
      Sets the client secret for OpenID token requests
      Parameter:
      clientSecret - the client secret to set
    • getSendAuthInBody

      public Boolean getSendAuthInBody()
      Indicates whether credentials for OpenID-based token requests shall be sent in request body
      Gibt zurück:
      true, if credentials shall be sent in the request body, false otherwise
    • hasSendAuthInBody

      public Boolean hasSendAuthInBody()
      Indicates whether credentials for OpenID-based token requests shall be sent in request body (alias for getSendAuthInBody())
      Gibt zurück:
      true, if credentials shall be sent in the request body, false otherwise
    • setSendAuthInBody

      public void setSendAuthInBody(Boolean sendAuthInBody)
      Sets whether credentials for OpenID-based token requests shall be sent in request body
      Parameter:
      sendAuthInBody - set to true, if credentials shall be sent in the request body, and to false otherwise
    • getAvailableProductClasses

      public Set<ProductClass> getAvailableProductClasses()
      Gets the list of product classes available from this archive
      Gibt zurück:
      a list of available product classes
    • setAvailableProductClasses

      public void setAvailableProductClasses(Set<ProductClass> availableProductClasses)
      Sets the list of product classes available from this archive
      Parameter:
      availableProductClasses - the list of available product classes to set
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse PersistentObject
    • equals

      public boolean equals(Object obj)
      Beschreibung aus Klasse kopiert: PersistentObject
      Test equality of persistent objects based on their unique ID.
      Setzt außer Kraft:
      equals in Klasse PersistentObject
      Parameter:
      obj - the object to compare this object to
      Gibt zurück:
      true, if obj is a persistent object and has the same ID, false otherwise
      Siehe auch:
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object