Klasse RestProductArchive
java.lang.Object
de.dlr.proseo.archivemgr.rest.model.RestProductArchive
- Alle implementierten Schnittstellen:
Serializable
- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected StringInterface protocol for this archive, one of { AIP, AUXIP, PODIP, PRIP, SIMPLEAIP }List of product class names (product types) retrievable from this archiveprotected StringBase URI to access the archive (of the form "http[s]://<hostname>[:<port>]", no trailing slash)protected StringClient-ID for OpenID-based token requestsprotected StringClient secret for OpenID-based token requestsprotected StringShort code for the archive (unique key)protected StringThe context path of the archive service endpointprotected LongThe persistent id of this objectprotected StringDescriptive name for the archiveprotected StringPassword for Basic Authentication (CAUTION - Clear text)protected BooleanFlag indicating whether credentials for OpenID-based token requests shall be sent in request body(Package privat) static final longprotected BooleanFlag indicating whether token-based authentication shall be usedprotected StringThe full URI for token requests (may be routed to a different host from the archive service itself)protected StringThe username for Basic Authentication (for token or service requests, depending on authentication method)protected LongA 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)$") StringReturns the archiveType.Returns the availableProductClasses.@NotNull StringReturns the baseUri.Returns the clientId.Returns the clientSecret.@NotNull StringgetCode()Returns the code.@NotNull StringReturns the context.getId()Returns the id.@NotNull StringgetName()Returns the name.Returns the password.Returns the sendAuthInBody.@NotNull BooleanReturns the tokenRequired.Returns the tokenUri.Returns the username.Returns the version.inthashCode()voidsetArchiveType(String archiveType) Set the archiveType.voidsetAvailableProductClasses(List<String> availableProductClasses) Set the availableProductClasses.voidsetBaseUri(String baseUri) Set the baseUri.voidsetClientId(String clientId) Set the clientId.voidsetClientSecret(String clientSecret) Set the clientSecret.voidSet the code.voidsetContext(String context) Set the context.voidSet the id.voidSet the name.voidsetPassword(String password) Set the password.voidsetSendAuthInBody(Boolean sendAuthInBody) Set the sendAuthInBody.voidsetTokenRequired(Boolean tokenRequired) Set the tokenRequired.voidsetTokenUri(String tokenUri) Set the tokenUri.voidsetUsername(String username) Set the username.voidsetVersion(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
-