public class Property extends Valuable
| Constructor and Description |
|---|
Property()
Creates a new property
|
Property(String type,
String name)
Creates a new property
|
Property(String type,
String name,
ValueType valueType,
Object value)
Creates a new property
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Get name of property.
|
boolean |
isNull()
Check if this property is
null (value == null) or the type is "Edm.Null". |
void |
setName(String name)
Set name of property.
|
asCollection, asComplex, asEnum, asGeospatial, asPrimitive, equals, getType, getValue, getValueType, hashCode, isCollection, isComplex, isEnum, isGeospatial, isPrimitive, setType, setValue, toStringgetAnnotationspublic Property()
public Property(String type, String name)
type - String representation of type (can be null)name - Name of the propertypublic Property(String type, String name, ValueType valueType, Object value)
type - String representation of type (can be null)name - Name of the propertyvalueType - Kind of the property e.g. primitive property, complex propertyvalue - Value of the property.Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.