public abstract class RegRole
extends java.lang.Object
Constructor and Description |
---|
RegRole() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getBaseRole()
Returns the role played by this entity; should be one of
"contact", "publisher", "creator".
|
abstract java.lang.String |
getEmail()
Returns the email address associated with the person or organisation.
|
abstract java.lang.String |
getLogo()
Returns the URL of a logo associated with this entity.
|
abstract java.lang.String |
getName()
Returns the real-world name or title of the person or organisation.
|
static RegRole[] |
readRoles(EndpointSet regTapEndpointSet,
java.lang.String ivoid,
uk.ac.starlink.util.ContentCoding coding)
Performs a RegTAP query to return all the role records corresponding
to a given registry resource (ivoid).
|
public abstract java.lang.String getBaseRole()
public abstract java.lang.String getName()
public abstract java.lang.String getEmail()
public abstract java.lang.String getLogo()
public static RegRole[] readRoles(EndpointSet regTapEndpointSet, java.lang.String ivoid, uk.ac.starlink.util.ContentCoding coding) throws java.io.IOException
regTapEndpointSet
- TAP endpoints for RegTAP serviceivoid
- identifier for resourcecoding
- configures HTTP compressionjava.io.IOException
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.