public class ODataPropertyDefaultImpl extends java.lang.Object implements ODataProperty
ODataProperty
.ODataPayload.Type
Constructor and Description |
---|
ODataPropertyDefaultImpl(java.lang.String name)
Constructor.
|
ODataPropertyDefaultImpl(java.lang.String name,
java.lang.Object value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
Returns the name of the property.
|
java.lang.Object |
getValue()
Returns the value of this property.
|
int |
hashCode() |
boolean |
isComplex()
Returns whether this property is a complex one.
|
void |
setValue(java.lang.Object value)
Sets the value of this property.
|
java.lang.String |
toString() |
public ODataPropertyDefaultImpl(java.lang.String name)
name
- public ODataPropertyDefaultImpl(java.lang.String name, java.lang.Object value)
name
- value
- public java.lang.String getName()
ODataProperty
getName
in interface ODataProperty
public void setValue(java.lang.Object value)
ODataProperty
setValue
in interface ODataProperty
value
- the value, can be nullpublic java.lang.Object getValue()
ODataProperty
getValue
in interface ODataProperty
public boolean isComplex()
ODataProperty
isComplex
in interface ODataProperty
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object