public class Attribute extends Object implements Serializable
Constructor and Description |
---|
Attribute() |
Attribute(String name,
String type,
String content) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
String |
getName()
Returns the value of field 'name'.
|
Value |
getValue()
Returns the value of field 'value'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
void |
setName(String name)
Sets the value of field 'name'.
|
void |
setValue(Value value)
Sets the value of field 'value'.
|
public boolean equals(Object obj)
public String getName()
public Value getValue()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public void setName(String name)
name
- the value of field 'name'.public void setValue(Value value)
value
- the value of field 'value'.Copyright © 2015. All rights reserved.