public class PrimitiveObject extends BaseObject
Constructor and Description |
---|
PrimitiveObject() |
PrimitiveObject(String name,
String type,
String value)
Initializes a new instance of the PrimitiveObject
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getValue()
Property value
|
int |
hashCode() |
void |
setValue(String value)
Set value.
|
String |
toString() |
PrimitiveObject |
value(String value)
Set value and return this.
|
public PrimitiveObject value(String value)
value
- Property valuepublic String getValue()
public void setValue(String value)
value
- Property valuepublic boolean equals(Object o)
equals
in class BaseObject
public int hashCode()
hashCode
in class BaseObject
public String toString()
toString
in class BaseObject
Copyright © 2020. All rights reserved.