|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.opendse.model.parameter.ParameterReference
public class ParameterReference
The ParameterReference is a reference to a Parameter of an
Element. This reference is defined by the element id and the
name of the Attribute.
| Field Summary | |
|---|---|
protected java.lang.String |
attribute
|
protected java.lang.String |
id
|
protected Parameter |
parameter
|
| Constructor Summary | |
|---|---|
ParameterReference(Element element,
java.lang.String attribute)
Constructs a ParameterReference. |
|
ParameterReference(java.lang.String id,
java.lang.String attribute,
Parameter parameter)
Constructs a ParameterReference. |
|
| Method Summary | |
|---|---|
int |
compareTo(ParameterReference o)
|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAttribute()
Returns the name of the Attribute. |
java.lang.String |
getId()
Returns the id of the referenced Element. |
Parameter |
getParameter()
Returns the Parameter. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final java.lang.String id
protected final java.lang.String attribute
protected final Parameter parameter
| Constructor Detail |
|---|
public ParameterReference(Element element,
java.lang.String attribute)
ParameterReference.
element - the elementattribute - the attribute name
public ParameterReference(java.lang.String id,
java.lang.String attribute,
Parameter parameter)
ParameterReference.
id - the element idattribute - the attribute nameparameter - the parameter| Method Detail |
|---|
public java.lang.String getId()
id of the referenced Element.
public java.lang.String getAttribute()
Attribute.
public Parameter getParameter()
Parameter.
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int compareTo(ParameterReference o)
compareTo in interface java.lang.Comparable<ParameterReference>public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||