public class VariableDescription
extends java.lang.Object
implements java.lang.Cloneable
| Constructor and Description |
|---|
VariableDescription()
Constructs a VariableDescription with a null value.
|
VariableDescription(java.lang.String name,
java.lang.String shortDescription,
java.lang.String longDescription)
Constructs a VariableDescription with the given attribute values.
|
VariableDescription(java.lang.String name,
java.lang.String shortDescription,
java.lang.String longDescription,
java.lang.String parent,
java.util.List<java.lang.String> children)
Constructs a VariableDescription with the given attribute values.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object.
|
java.util.List |
getChildren()
Gets the names of child variables.
|
java.lang.String |
getLongDescription()
Gets the long description of the variable.
|
java.lang.String |
getName()
Gets the variable's name.
|
java.lang.String |
getParent()
Gets the variable's parent.
|
java.lang.String |
getShortDescription()
Gets the short description of the variable.
|
void |
setChildren(java.util.List<java.lang.String> value)
Sets the names of child variables.
|
void |
setLongDescription(java.lang.String value)
Sets the variable's long description.
|
void |
setName(java.lang.String name)
Sets the variable's name.
|
void |
setParent(java.lang.String value)
Sets the variable's parent.
|
void |
setShortDescription(java.lang.String value)
Sets the variable's short description.
|
public VariableDescription()
public VariableDescription(java.lang.String name,
java.lang.String shortDescription,
java.lang.String longDescription)
name - identifies the variableshortDescription - a short description of the variablelongDescription - a long description of the variablepublic VariableDescription(java.lang.String name,
java.lang.String shortDescription,
java.lang.String longDescription,
java.lang.String parent,
java.util.List<java.lang.String> children)
name - identifies the variableshortDescription - a short description of the variablelongDescription - a long description of the variableparent - name of parent variablechildren - names of child variablespublic 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 descriptiongetShortDescription()public java.lang.String getLongDescription()
setLongDescription(java.lang.String)public void setLongDescription(java.lang.String value)
value - new descriptiongetLongDescription()public java.lang.String getParent()
setParent(java.lang.String)public void setParent(java.lang.String value)
value - new parent namegetParent()public java.util.List getChildren()
setChildren(java.util.List<java.lang.String>)public void setChildren(java.util.List<java.lang.String> value)
value - new list of child variable namesgetChildren()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.