cz.cuni.amis.introspection
Class PropertyShadow
java.lang.Object
cz.cuni.amis.introspection.Feature
cz.cuni.amis.introspection.Property
cz.cuni.amis.introspection.PropertyShadow
public class PropertyShadow
- extends Property
Used for caching value of given property.
- Author:
- ik
| Fields inherited from class cz.cuni.amis.introspection.Feature |
name |
| Methods inherited from class cz.cuni.amis.introspection.Feature |
getName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyShadow
public PropertyShadow(Property prop)
throws IntrospectionException
- Throws:
IntrospectionException
synchronize
public void synchronize()
throws IntrospectionException
- Updates shadowed value with current property value. Sets the new value if
if was changed.
- Throws:
IntrospectionException
getValue
public Object getValue()
throws IntrospectionException
- Description copied from class:
Property
- Get value of property.
- Specified by:
getValue in class Property
- Returns:
- Value of property
- Throws:
IntrospectionException
setValue
public void setValue(Object newValue)
throws IntrospectionException
- Description copied from class:
Property
- Set value of property.
- Specified by:
setValue in class Property
- Throws:
IntrospectionException
getType
public Class getType()
throws IntrospectionException
- Specified by:
getType in class Property
- Returns:
- Type of this property.
- Throws:
IntrospectionException
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.