public class SourceDescription
extends java.lang.Object
implements java.lang.Cloneable, java.lang.Comparable
| Constructor and Description |
|---|
SourceDescription()
Constructs a SourceDescription with a null value.
|
SourceDescription(java.lang.String name,
java.lang.String shortDescription)
Constructs a SourceDescription with the given name and short
description values.
|
SourceDescription(java.lang.String name,
java.lang.String shortDescription,
java.lang.String longDescription,
java.lang.String providerId,
java.lang.String nssdcId,
java.lang.String spaseId)
Constructs a SourceDescription with the given attribute values.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object.
|
int |
compareTo(java.lang.Object o)
Compares this object with the specified object for order.
|
java.lang.String |
getLongDescription()
Gets a long description of the source.
|
java.lang.String |
getName()
Gets the source's name.
|
java.lang.String |
getNssdcId()
Gets NSSDC master catalog identifier of this source.
|
java.lang.String |
getProviderId()
Gets the data provider's identifier (name) of this source.
|
java.lang.String |
getShortDescription()
Gets a short description of the source.
|
java.lang.String |
getSpaseId()
Gets Space Physics Archive
Search and Extract (SPASE) Spase/Observatory/ResourceID of
this source.
|
void |
setLongDescription(java.lang.String value)
Sets the source's long description.
|
void |
setName(java.lang.String name)
Sets the source's name.
|
void |
setNssdcId(java.lang.String value)
Sets the source's NSSDC master catalog identifier.
|
void |
setProviderId(java.lang.String value)
Sets the data provider's identifier for this source.
|
void |
setShortDescription(java.lang.String value)
Sets the source's short description.
|
void |
setSpaseId(java.lang.String value)
Sets the source's SPASE identifier.
|
public SourceDescription()
public SourceDescription(java.lang.String name,
java.lang.String shortDescription)
name - identifies the sourceshortDescription - a short description of the sourcepublic SourceDescription(java.lang.String name,
java.lang.String shortDescription,
java.lang.String longDescription,
java.lang.String providerId,
java.lang.String nssdcId,
java.lang.String spaseId)
name - identifies the sourceshortDescription - a short description of the sourcelongDescription - a long description of the sourceproviderId - the data provider's identifier for this sourcenssdcId - NSSDC identifier for this sourcespaseId - SPASE identifier for this sourcepublic java.lang.String getName()
setName(java.lang.String)public void setName(java.lang.String name)
name - new namegetName()public java.lang.String getShortDescription()
setShortDescription(java.lang.String)public void setShortDescription(java.lang.String value)
value - new short descriptiongetShortDescription()public java.lang.String getLongDescription()
setLongDescription(java.lang.String)public void setLongDescription(java.lang.String value)
value - new long descriptiongetLongDescription()public java.lang.String getProviderId()
setProviderId(java.lang.String)public void setProviderId(java.lang.String value)
value - new provider's identifiergetProviderId()public java.lang.String getNssdcId()
setNssdcId(java.lang.String)public void setNssdcId(java.lang.String value)
value - new NSSDC master catalog idgetNssdcId()public java.lang.String getSpaseId()
setSpaseId(java.lang.String)public void setSpaseId(java.lang.String value)
value - new SPASE idgetSpaseId()public int compareTo(java.lang.Object o)
throws java.lang.ClassCastException
compareTo in interface java.lang.Comparableo - the Object to be compared.java.lang.ClassCastException - if the specified object's type
prevents it from being compared to this Object.public java.lang.Object clone()
clone in class java.lang.ObjectObject.clone()CDAS Feedback.
Copyright © 2003-2021 United States Government as represented by the National Aeronautics and Space Administration. No copyright is claimed in the United States under Title 17, U.S.Code. All Other Rights Reserved.