Klasse RestProductArchive
java.lang.Object
de.dlr.proseo.archivemgr.rest.model.RestProductArchive
- Alle implementierten Schnittstellen:
Serializable
- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected String
Interface protocol for this archive, one of { AIP, AUXIP, PODIP, PRIP, SIMPLEAIP }List of product class names (product types) retrievable from this archiveprotected String
Base URI to access the archive (of the form "http[s]://<hostname>[:<port>]", no trailing slash)protected String
Client-ID for OpenID-based token requestsprotected String
Client secret for OpenID-based token requestsprotected String
Short code for the archive (unique key)protected String
The context path of the archive service endpointprotected Long
The persistent id of this objectprotected String
Descriptive name for the archiveprotected String
Password for Basic Authentication (CAUTION - Clear text)protected Boolean
Flag indicating whether credentials for OpenID-based token requests shall be sent in request body(Package privat) static final long
protected Boolean
Flag indicating whether token-based authentication shall be usedprotected String
The full URI for token requests (may be routed to a different host from the archive service itself)protected String
The username for Basic Authentication (for token or service requests, depending on authentication method)protected Long
A version identifier to track updates to the object (especially to detect concurrent update attempts) -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates a new RestProductArchive.RestProductArchive
(Long id, Long version, String code, String name, String archiveType, String baseUri, String context, Boolean tokenRequired, String tokenUri, String username, String password, String clientId, String clientSecret, Boolean sendAuthInBody, List<String> availableProductClasses) Creates a new RestProductArchive. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
@NotNull @Pattern(regexp="^(AIP|AUXIP|PODIP|PRIP|SIMPLEAIP)$") String
Returns the archiveType.Returns the availableProductClasses.@NotNull String
Returns the baseUri.Returns the clientId.Returns the clientSecret.@NotNull String
getCode()
Returns the code.@NotNull String
Returns the context.getId()
Returns the id.@NotNull String
getName()
Returns the name.Returns the password.Returns the sendAuthInBody.@NotNull Boolean
Returns the tokenRequired.Returns the tokenUri.Returns the username.Returns the version.int
hashCode()
void
setArchiveType
(String archiveType) Set the archiveType.void
setAvailableProductClasses
(List<String> availableProductClasses) Set the availableProductClasses.void
setBaseUri
(String baseUri) Set the baseUri.void
setClientId
(String clientId) Set the clientId.void
setClientSecret
(String clientSecret) Set the clientSecret.void
Set the code.void
setContext
(String context) Set the context.void
Set the id.void
Set the name.void
setPassword
(String password) Set the password.void
setSendAuthInBody
(Boolean sendAuthInBody) Set the sendAuthInBody.void
setTokenRequired
(Boolean tokenRequired) Set the tokenRequired.void
setTokenUri
(String tokenUri) Set the tokenUri.void
setUsername
(String username) Set the username.void
setVersion
(Long version) Set the version.toString()
-
Felddetails
-
serialVersionUID
static final long serialVersionUID- Siehe auch:
-
id
The persistent id of this object -
version
A version identifier to track updates to the object (especially to detect concurrent update attempts) -
code
Short code for the archive (unique key) -
name
Descriptive name for the archive -
archiveType
Interface protocol for this archive, one of { AIP, AUXIP, PODIP, PRIP, SIMPLEAIP } -
baseUri
Base URI to access the archive (of the form "http[s]://<hostname>[:<port>]", no trailing slash) -
context
The context path of the archive service endpoint -
tokenRequired
Flag indicating whether token-based authentication shall be used -
tokenUri
The full URI for token requests (may be routed to a different host from the archive service itself) -
username
The username for Basic Authentication (for token or service requests, depending on authentication method) -
password
Password for Basic Authentication (CAUTION - Clear text) -
clientId
Client-ID for OpenID-based token requests -
clientSecret
Client secret for OpenID-based token requests -
sendAuthInBody
Flag indicating whether credentials for OpenID-based token requests shall be sent in request body -
availableProductClasses
List of product class names (product types) retrievable from this archive
-
-
Konstruktordetails
-
RestProductArchive
public RestProductArchive()Creates a new RestProductArchive. -
RestProductArchive
public RestProductArchive(Long id, Long version, String code, String name, String archiveType, String baseUri, String context, Boolean tokenRequired, String tokenUri, String username, String password, String clientId, String clientSecret, Boolean sendAuthInBody, List<String> availableProductClasses) Creates a new RestProductArchive.
-
-
Methodendetails
-
getId
Returns the id.- Gibt zurück:
- id
-
setId
Set the id.- Parameter:
id
- the new id
-
getVersion
Returns the version.- Gibt zurück:
- version
-
setVersion
Set the version.- Parameter:
version
- the new version
-
getCode
Returns the code.- Gibt zurück:
- code
-
setCode
Set the code.- Parameter:
code
- the new code
-
getName
Returns the name.- Gibt zurück:
- name
-
setName
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
Set the archiveType.- Parameter:
archiveType
- the new archiveType
-
getBaseUri
Returns the baseUri.- Gibt zurück:
- baseUri
-
setBaseUri
Set the baseUri.- Parameter:
baseUri
- the new baseUri
-
getContext
Returns the context.- Gibt zurück:
- context
-
setContext
Set the context.- Parameter:
context
- the new context
-
getTokenRequired
Returns the tokenRequired.- Gibt zurück:
- tokenRequired
-
setTokenRequired
Set the tokenRequired.- Parameter:
tokenRequired
- the new tokenRequired
-
getTokenUri
Returns the tokenUri.- Gibt zurück:
- tokenUri
-
setTokenUri
Set the tokenUri.- Parameter:
tokenUri
- the new tokenUri
-
getUsername
Returns the username.- Gibt zurück:
- username
-
setUsername
Set the username.- Parameter:
username
- the new username
-
getPassword
Returns the password.- Gibt zurück:
- password
-
setPassword
Set the password.- Parameter:
password
- the new password
-
getClientId
Returns the clientId.- Gibt zurück:
- clientId
-
setClientId
Set the clientId.- Parameter:
clientId
- the new clientId
-
getClientSecret
Returns the clientSecret.- Gibt zurück:
- clientSecret
-
setClientSecret
Set the clientSecret.- Parameter:
clientSecret
- the new clientSecret
-
getSendAuthInBody
Returns the sendAuthInBody.- Gibt zurück:
- sendAuthInBody
-
setSendAuthInBody
Set the sendAuthInBody.- Parameter:
sendAuthInBody
- the new sendAuthInBody
-
getAvailableProductClasses
Returns the availableProductClasses.- Gibt zurück:
- availableProductClasses
-
setAvailableProductClasses
Set the availableProductClasses.- Parameter:
availableProductClasses
- the new availableProductClasses
-
hashCode
public int hashCode() -
equals
-
toString
-