Date leaseDate;
String id;
boolean local;
-
+ Map properties;
boolean alertAdmin;
public static String EMPTY_ID = "UNK:-1";
{
return capabilities;
}
+ /** test if a this source has a particular capability
+ *
+ * @param testCapability
+ * @return <code>true</code> if the server has this capability.
+ */
+ public boolean hasCapability(String testCapability){
+ for (int i=0 ; i< capabilities.length;i++){
+ String cap = capabilities[i];
+ if ( cap.equals(testCapability))
+ return true;
+ }
+ return false;
+ }
public DasCoordinateSystem[] getCoordinateSystem()
{
public boolean getAlertAdmin()
{
return alertAdmin;
- }
+ }
+ public Map getProperties() {
+ return properties;
+ }
+ public void setProperties(Map properties) {
+ this.properties = properties;
+ }
}