|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectthredds.catalog.InvService
public class InvService
A Service is an abstraction for an internet service, such as a data server, FTP, etc.
Field Summary | |
---|---|
static InvService |
cdmremote
|
static InvService |
cdmrfeature
|
static InvService |
fileServer
|
static InvService |
iso
|
static InvService |
latest
|
static InvService |
ncml
|
static InvService |
ncss
|
static InvService |
opendap
|
static InvService |
uddc
|
static InvService |
wcs
|
static InvService |
wms
|
Constructor Summary | |
---|---|
InvService(String name,
String serviceTypeName,
String base,
String suffix,
String desc)
Constructor. |
Method Summary | |
---|---|
void |
addDatasetRoot(InvProperty root)
Deprecated. use InvCatalogImpl |
void |
addProperty(InvProperty p)
Add a property |
void |
addService(InvService service)
Add a nested service to a service of type COMPOUND. |
protected boolean |
check(StringBuilder out)
|
String |
dump()
|
boolean |
equals(Object o)
InvServices with same values are equal |
String |
findProperty(String name)
Get named property. |
String |
getBase()
get the base URL for the service |
List<InvProperty> |
getDatasetRoots()
Get dataset roots. |
String |
getDescription()
Get the "human readable" description; use ServiceType.toString() if not set |
String |
getFullName()
Deprecated. services should always be at top level. |
String |
getName()
Get the service name: referenced by dataset and access elements. |
List<InvProperty> |
getProperties()
Get properties for this service. |
List<InvService> |
getServices()
Get nested services; only if getServiceType() == ServiceType.COMPOUND. |
ServiceType |
getServiceType()
get the Service Type |
String |
getSuffix()
Get the suffix; may be null |
int |
hashCode()
Override Object.hashCode() to implement equals. |
boolean |
isRelativeBase()
See if the service Base is reletive |
String |
toString()
string representation |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final InvService cdmremote
public static final InvService cdmrfeature
public static final InvService fileServer
public static final InvService latest
public static final InvService ncss
public static final InvService opendap
public static final InvService wcs
public static final InvService wms
public static final InvService ncml
public static final InvService iso
public static final InvService uddc
Constructor Detail |
---|
public InvService(String name, String serviceTypeName, String base, String suffix, String desc)
name
- : name to show to the userserviceTypeName
- : ServiceTypebase
- : base for forming URLsuffix
- : suffix for forming URL, may be null.desc
- : human readable description, may be null.Method Detail |
---|
public String getName()
public String getBase()
public ServiceType getServiceType()
public String getSuffix()
public String getDescription()
public List<InvProperty> getProperties()
public List<InvProperty> getDatasetRoots()
public String findProperty(String name)
name
- match this name
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String dump()
public void addService(InvService service)
service
- add thispublic void addProperty(InvProperty p)
p
- add thispublic void addDatasetRoot(InvProperty root)
root
- add thispublic List<InvService> getServices()
public String getFullName()
protected boolean check(StringBuilder out)
public boolean isRelativeBase()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |