Package de.dlr.proseo.model
Klasse ProductArchive
java.lang.Object
de.dlr.proseo.model.PersistentObject
de.dlr.proseo.model.ProductArchive
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
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
Test equality of persistent objects based on their unique ID.Gets the archive typeGets the list of product classes available from this archiveGets the base URI for the archive endpointGets the client ID for OpenID token requestsGets the client secret for OpenID token requestsgetCode()
Gets the archive short codeGets the URI context for the archive endpointgetName()
Gets the descriptive name for the archiveGets the password for Basic AuthenticationIndicates whether credentials for OpenID-based token requests shall be sent in request bodyIndicates whether token-based authentication shall be usedGets the URI for the token request endpointGets the user name for Basic Authenticationint
hashCode()
Indicates whether credentials for OpenID-based token requests shall be sent in request body (alias forgetSendAuthInBody()
)Indicates whether token-based authentication shall be used (alias forgetTokenRequired()
)void
setArchiveType
(ArchiveType archiveType) Sets the archive typevoid
setAvailableProductClasses
(Set<ProductClass> availableProductClasses) Sets the list of product classes available from this archivevoid
setBaseUri
(String baseUri) Sets the base URI for the archive endpointvoid
setClientId
(String clientId) Sets the client ID for OpenID token requestsvoid
setClientSecret
(String clientSecret) Sets the client secret for OpenID token requestsvoid
Sets the archive short codevoid
setContext
(String context) Sets the URI context for the archive endpointvoid
Sets the descriptive name for the archivevoid
setPassword
(String password) Sets the password for Basic Authenticationvoid
setSendAuthInBody
(Boolean sendAuthInBody) Sets whether credentials for OpenID-based token requests shall be sent in request bodyvoid
setTokenRequired
(Boolean tokenRequired) Sets whether token-based authentication shall be usedvoid
setTokenUri
(String tokenUri) Sets the URI for the token request endpointvoid
setUsername
(String username) Sets the user name for Basic AuthenticationtoString()
Von Klasse geerbte Methoden de.dlr.proseo.model.PersistentObject
getId, getVersion, incrementVersion, setId
-
Konstruktordetails
-
ProductArchive
public ProductArchive()
-
-
Methodendetails
-
getCode
Gets the archive short code- Gibt zurück:
- the code
-
setCode
Sets the archive short code- Parameter:
code
- the code to set
-
getName
Gets the descriptive name for the archive- Gibt zurück:
- the name
-
setName
Sets the descriptive name for the archive- Parameter:
name
- the name to set
-
getArchiveType
Gets the archive type- Gibt zurück:
- the archive type
-
setArchiveType
Sets the archive type- Parameter:
archiveType
- the archive type to set
-
getBaseUri
Gets the base URI for the archive endpoint- Gibt zurück:
- the base URI
-
setBaseUri
Sets the base URI for the archive endpoint- Parameter:
baseUri
- the base URI to set
-
getContext
Gets the URI context for the archive endpoint- Gibt zurück:
- the URI context
-
setContext
Sets the URI context for the archive endpoint- Parameter:
context
- the URI context to set
-
getTokenRequired
Indicates whether token-based authentication shall be used- Gibt zurück:
- true, if token-based authentication is required, false otherwise
-
isTokenRequired
Indicates whether token-based authentication shall be used (alias forgetTokenRequired()
)- Gibt zurück:
- true, if token-based authentication is required, false otherwise
-
setTokenRequired
Sets whether token-based authentication shall be used- Parameter:
tokenRequired
- set to true, if token-based authentication is required, and to false otherwise
-
getTokenUri
Gets the URI for the token request endpoint- Gibt zurück:
- the token request URI
-
setTokenUri
Sets the URI for the token request endpoint- Parameter:
tokenUri
- the token request URI to set
-
getUsername
Gets the user name for Basic Authentication- Gibt zurück:
- the user name
-
setUsername
Sets the user name for Basic Authentication- Parameter:
username
- the user name to set
-
getPassword
Gets the password for Basic Authentication- Gibt zurück:
- the password
-
setPassword
Sets the password for Basic Authentication- Parameter:
password
- the password to set
-
getClientId
Gets the client ID for OpenID token requests- Gibt zurück:
- the client ID
-
setClientId
Sets the client ID for OpenID token requests- Parameter:
clientId
- the client ID to set
-
getClientSecret
Gets the client secret for OpenID token requests- Gibt zurück:
- the client secret
-
setClientSecret
Sets the client secret for OpenID token requests- Parameter:
clientSecret
- the client secret to set
-
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
Indicates whether credentials for OpenID-based token requests shall be sent in request body (alias forgetSendAuthInBody()
)- Gibt zurück:
- true, if credentials shall be sent in the request body, false otherwise
-
setSendAuthInBody
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
Gets the list of product classes available from this archive- Gibt zurück:
- a list of available product classes
-
setAvailableProductClasses
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 KlassePersistentObject
-
equals
Beschreibung aus Klasse kopiert:PersistentObject
Test equality of persistent objects based on their unique ID.- Setzt außer Kraft:
equals
in KlassePersistentObject
- 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
-