public class Property extends Object
Type | Property and Description |
---|---|
boolean |
isContent
Gets a value indicating whether this instance is the one defined in the
ContentProperty . |
Modifier and Type | Method and Description |
---|---|
static Property |
getContentProperty(Object instance)
|
Object |
getDefaultValue()
Gets the default value.
|
GraphML |
getGraphMLAttribute()
Gets the GraphMLAttribute.
|
String |
getName()
Gets the name.
|
Object |
getOwnerInstance()
Gets the owner instance.
|
Class |
getOwnerType()
Gets the type of the owner.
|
PropertyInfo |
getPropertyInfo()
Gets the property info.
|
Type |
getPropertyType()
Gets the type of the property.
|
GraphMLMemberVisibility |
getSerializationVisibility()
Gets the serialization visibility.
|
Object |
getValue()
Gets the value.
|
boolean |
hasDefaultValue()
Gets a value indicating whether this instance has a default value.
|
boolean |
isContentProperty()
Gets a value indicating whether this instance is the one defined in the
ContentProperty . |
boolean |
isIndexer()
Gets a value indicating whether this instance is an indexed property.
|
boolean |
isReadable()
Returns
true iff the property has a public getter. |
boolean |
isStatic()
Returns
true iff this is a static property. |
boolean |
isWritable()
Returns
true iff the property has a public setter. |
void |
setValue(Object value)
Sets the value.
|
public final boolean isContentProperty
ContentProperty
.true
if this instance is the one defined in the ContentProperty
; false
otherwise.public static final Property getContentProperty(Object instance)
instance
- The target object.ContentProperty
, or null
if no such property exists.public final Object getDefaultValue()
public final GraphML getGraphMLAttribute()
public final String getName()
public final Object getOwnerInstance()
public final Class getOwnerType()
public final PropertyInfo getPropertyInfo()
public final Type getPropertyType()
public final GraphMLMemberVisibility getSerializationVisibility()
public final Object getValue()
setValue(Object)
public final boolean hasDefaultValue()
true
if this instance has a default value; false
otherwise.public final boolean isContentProperty()
ContentProperty
.true
if this instance is the one defined in the ContentProperty
; false
otherwise.public final boolean isIndexer()
public final boolean isReadable()
true
iff the property has a public getter.public final boolean isStatic()
true
iff this is a static property.public final boolean isWritable()
true
iff the property has a public setter.public final void setValue(Object value)
value
- The value.getValue()