Package org.intermine.xml.full
Class Attribute
- java.lang.Object
-
- org.intermine.xml.full.Attribute
-
public class Attribute extends java.lang.Object
Representation of an Attribute in an object- Author:
- Andrew Varley
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getName()
Get the name of this fieldjava.lang.String
getValue()
Get the value of this fieldint
hashCode()
void
setName(java.lang.String name)
Set the name of this fieldvoid
setValue(java.lang.String value)
Set the value of this field
-
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
Set the name of this field- Parameters:
name
- the name
-
getName
public java.lang.String getName()
Get the name of this field- Returns:
- the name
-
setValue
public void setValue(java.lang.String value)
Set the value of this field- Parameters:
value
- the value
-
getValue
public java.lang.String getValue()
Get the value of this field- Returns:
- the value
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-