public abstract class SdmxAsset extends AbstractAsset
Asset available in the SDMX format.| Modifier and Type | Field and Description |
|---|---|
static Type<SdmxAsset> |
type
The generic type of
SdmxAssets. |
| Modifier | Constructor and Description |
|---|---|
protected |
SdmxAsset(Type<T> type,
String name,
RepositoryService service,
Property... properties)
Creates an instance with a given type, name, and target service.
|
protected |
SdmxAsset(Type<T> type,
String urn,
String id,
String version,
String name,
Property... properties)
Creates an instance with a given type, urn, identifier, version, name, and properties.
|
| Modifier and Type | Method and Description |
|---|---|
String |
agency()
Returns the identifier of this asset's agency.
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
remoteId()
Returns the remote identifier of this asset.
|
void |
setAgency(String agency)
Sets the identifier of this asset's agency.
|
void |
setStatus(String status)
Sets the status of this asset.
|
void |
setURI(URI uri)
Sets the URI of this asset.
|
String |
status()
Returns the status of this asset.
|
String |
toString() |
URI |
uri()
Returns the URI of this asset.
|
id, name, service, setService, setVersion, type, versionproperties, propertiesclone, finalize, getClass, notify, notifyAll, wait, wait, waitpropertiesprotected SdmxAsset(Type<T> type, String urn, String id, String version, String name, Property... properties)
Inherit as a plugin-facing constructor for asset discovery and retrieval purposes.
type - the typeurn - the urnid - the identifierversion - the versionname - the nameproperties - the propertiesprotected SdmxAsset(Type<T> type, String name, RepositoryService service, Property... properties)
Inherit as a client-facing constructor for asset publication with services that do now allow client-defined identifiers, or else that force services to generate identifiers.
type - the typename - the nameservice - the servicepublic String agency()
public void setAgency(String agency)
agency - the agency identifierpublic URI uri()
public void setURI(URI uri)
uri - the URIpublic String remoteId()
public String status()
public void setStatus(String status)
status - the statuspublic String toString()
toString in class AbstractAssetpublic int hashCode()
hashCode in class AbstractAssetpublic boolean equals(Object obj)
equals in class AbstractAssetCopyright © 2018. All rights reserved.