Klasse RestProductArchive

java.lang.Object
de.dlr.proseo.archivemgr.rest.model.RestProductArchive
Alle implementierten Schnittstellen:
Serializable

public class RestProductArchive extends Object implements Serializable
Siehe auch:
  • Felddetails

    • serialVersionUID

      static final long serialVersionUID
      Siehe auch:
    • id

      protected Long id
      The persistent id of this object
    • version

      protected Long version
      A version identifier to track updates to the object (especially to detect concurrent update attempts)
    • code

      protected String code
      Short code for the archive (unique key)
    • name

      protected String name
      Descriptive name for the archive
    • archiveType

      protected String archiveType
      Interface protocol for this archive, one of { AIP, AUXIP, PODIP, PRIP, SIMPLEAIP }
    • baseUri

      protected String baseUri
      Base URI to access the archive (of the form "http[s]://<hostname>[:<port>]", no trailing slash)
    • context

      protected String context
      The context path of the archive service endpoint
    • tokenRequired

      protected Boolean tokenRequired
      Flag indicating whether token-based authentication shall be used
    • tokenUri

      protected String tokenUri
      The full URI for token requests (may be routed to a different host from the archive service itself)
    • username

      protected String username
      The username for Basic Authentication (for token or service requests, depending on authentication method)
    • password

      protected String password
      Password for Basic Authentication (CAUTION - Clear text)
    • clientId

      protected String clientId
      Client-ID for OpenID-based token requests
    • clientSecret

      protected String clientSecret
      Client secret for OpenID-based token requests
    • sendAuthInBody

      protected Boolean sendAuthInBody
      Flag indicating whether credentials for OpenID-based token requests shall be sent in request body
    • availableProductClasses

      protected List<String> availableProductClasses
      List of product class names (product types) retrievable from this archive
  • Konstruktordetails

  • Methodendetails

    • getId

      public Long getId()
      Returns the id.
      Gibt zurück:
      id
    • setId

      public void setId(Long id)
      Set the id.
      Parameter:
      id - the new id
    • getVersion

      public Long getVersion()
      Returns the version.
      Gibt zurück:
      version
    • setVersion

      public void setVersion(Long version)
      Set the version.
      Parameter:
      version - the new version
    • getCode

      @NotNull public @NotNull String getCode()
      Returns the code.
      Gibt zurück:
      code
    • setCode

      public void setCode(String code)
      Set the code.
      Parameter:
      code - the new code
    • getName

      @NotNull public @NotNull String getName()
      Returns the name.
      Gibt zurück:
      name
    • setName

      public void setName(String name)
      Set the name.
      Parameter:
      name - the new name
    • getArchiveType

      @NotNull @Pattern(regexp="^(AIP|AUXIP|PODIP|PRIP|SIMPLEAIP)$") public @NotNull @Pattern(regexp="^(AIP|AUXIP|PODIP|PRIP|SIMPLEAIP)$") String getArchiveType()
      Returns the archiveType.
      Gibt zurück:
      archiveType
    • setArchiveType

      public void setArchiveType(String archiveType)
      Set the archiveType.
      Parameter:
      archiveType - the new archiveType
    • getBaseUri

      @NotNull public @NotNull String getBaseUri()
      Returns the baseUri.
      Gibt zurück:
      baseUri
    • setBaseUri

      public void setBaseUri(String baseUri)
      Set the baseUri.
      Parameter:
      baseUri - the new baseUri
    • getContext

      @NotNull public @NotNull String getContext()
      Returns the context.
      Gibt zurück:
      context
    • setContext

      public void setContext(String context)
      Set the context.
      Parameter:
      context - the new context
    • getTokenRequired

      @NotNull public @NotNull Boolean getTokenRequired()
      Returns the tokenRequired.
      Gibt zurück:
      tokenRequired
    • setTokenRequired

      public void setTokenRequired(Boolean tokenRequired)
      Set the tokenRequired.
      Parameter:
      tokenRequired - the new tokenRequired
    • getTokenUri

      public String getTokenUri()
      Returns the tokenUri.
      Gibt zurück:
      tokenUri
    • setTokenUri

      public void setTokenUri(String tokenUri)
      Set the tokenUri.
      Parameter:
      tokenUri - the new tokenUri
    • getUsername

      public String getUsername()
      Returns the username.
      Gibt zurück:
      username
    • setUsername

      public void setUsername(String username)
      Set the username.
      Parameter:
      username - the new username
    • getPassword

      public String getPassword()
      Returns the password.
      Gibt zurück:
      password
    • setPassword

      public void setPassword(String password)
      Set the password.
      Parameter:
      password - the new password
    • getClientId

      public String getClientId()
      Returns the clientId.
      Gibt zurück:
      clientId
    • setClientId

      public void setClientId(String clientId)
      Set the clientId.
      Parameter:
      clientId - the new clientId
    • getClientSecret

      public String getClientSecret()
      Returns the clientSecret.
      Gibt zurück:
      clientSecret
    • setClientSecret

      public void setClientSecret(String clientSecret)
      Set the clientSecret.
      Parameter:
      clientSecret - the new clientSecret
    • getSendAuthInBody

      public Boolean getSendAuthInBody()
      Returns the sendAuthInBody.
      Gibt zurück:
      sendAuthInBody
    • setSendAuthInBody

      public void setSendAuthInBody(Boolean sendAuthInBody)
      Set the sendAuthInBody.
      Parameter:
      sendAuthInBody - the new sendAuthInBody
    • getAvailableProductClasses

      @NotNull public @NotNull List<String> getAvailableProductClasses()
      Returns the availableProductClasses.
      Gibt zurück:
      availableProductClasses
    • setAvailableProductClasses

      public void setAvailableProductClasses(List<String> availableProductClasses)
      Set the availableProductClasses.
      Parameter:
      availableProductClasses - the new availableProductClasses
    • hashCode

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

      public boolean equals(Object other)
      Setzt außer Kraft:
      equals in Klasse Object
    • toString

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