public class Assignment extends Object implements Serializable
Constructor and Description |
---|
Assignment() |
Assignment(String type,
String name,
String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Overrides the Object.equals method.
|
String |
getName()
Returns the value of field 'name'.
|
String |
getType()
Returns the value of field 'type'.
|
String |
getValue()
Returns the value of field 'value'.
|
int |
hashCode()
Overrides the Object.hashCode method.
|
void |
setName(String name)
Sets the value of field 'name'.
|
void |
setType(String type)
Sets the value of field 'type'.
|
void |
setValue(String value)
Sets the value of field 'value'.
|
public boolean equals(Object obj)
public String getName()
public String getType()
public String 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 setType(String type)
type
- the value of field 'type'.public void setValue(String value)
value
- the value of field 'value'.Copyright © 2017. All rights reserved.