|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deduced.PropertyImplementation<E>
org.deduced.FixedDeducedProperty<E>
E - the type of value stored in the propertypublic class FixedDeducedProperty<E>

FixedDeducedProperty is used to hold a property that is created with a rule that has no input. Hence the rule will always return the same value.
| Field Summary | |
|---|---|
private PropertyCollection<?,?> |
parent
parent collection that owns the rule |
private PropertyCollection<?,?> |
rule
the rule model |
private static long |
serialVersionUID
serial ID |
| Constructor Summary | |
|---|---|
FixedDeducedProperty(PropertyCollection<?,?> setParent,
PropertyCollection<?,?> lastInstance,
E value,
PropertyCollection<?,?> setRule)
FixedDeducedProperty Constructor |
|
| Method Summary | |
|---|---|
void |
delete()
(non-Javadoc) |
PropertyCollection<?,?> |
getParent()
(non-Javadoc) |
PropertyCollection<?,?> |
getRule()
(non-Javadoc) |
| Methods inherited from class org.deduced.PropertyImplementation |
|---|
arePropertiesEqual, arePropertyValuesEqual, clonePropertyValue, copy, equals, getInstance, getValue, getValueType, hashCode, isValueEqual, resetParentOnValue, setValue, setValueOnProperty, setValueParent, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.deduced.Property |
|---|
copy, getInstance, getValue, getValueType, isValueEqual, setValue |
| Field Detail |
|---|
private static final long serialVersionUID
private PropertyCollection<?,?> parent
private PropertyCollection<?,?> rule
| Constructor Detail |
|---|
public FixedDeducedProperty(PropertyCollection<?,?> setParent,
PropertyCollection<?,?> lastInstance,
E value,
PropertyCollection<?,?> setRule)
setParent - the parent collectionlastInstance - the instance of the rule outputvalue - the value of the propertysetRule - the rule model| Method Detail |
|---|
public PropertyCollection<?,?> getParent()
getParent in interface DeducedProperty<E>DeducedProperty.getParent()public void delete()
delete in interface DeducedProperty<E>DeducedProperty.delete()public PropertyCollection<?,?> getRule()
getRule in interface DeducedProperty<E>DeducedProperty.getRule()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||