|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.edu.agh.cast.model.attributes.AttributeMergePolicy
pl.edu.agh.cast.model.attributes.AttributeMergePolicy.MergePolicyAlwaysSecond
public static final class AttributeMergePolicy.MergePolicyAlwaysSecond
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class pl.edu.agh.cast.model.attributes.AttributeMergePolicy |
|---|
AttributeMergePolicy.MergePolicyAlwaysFirst, AttributeMergePolicy.MergePolicyAlwaysSecond, AttributeMergePolicy.MergePolicyLogicalAnd, AttributeMergePolicy.MergePolicyLogicalOr |
| Field Summary |
|---|
| Fields inherited from class pl.edu.agh.cast.model.attributes.AttributeMergePolicy |
|---|
MERGE_POLICY_ALWAYS_FIRST, MERGE_POLICY_ALWAYS_SECOND, MERGE_POLICY_LOGICAL_AND, MERGE_POLICY_LOGICAL_OR |
| Method Summary | |
|---|---|
java.lang.String |
getId()
|
java.lang.Object |
mergeValues(Attribute attribute,
java.lang.Object firstValue,
java.lang.Object secondValue)
Merges two Attribute values into one. |
| Methods inherited from class pl.edu.agh.cast.model.attributes.AttributeMergePolicy |
|---|
checkIfBoolean, equals, resolve, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.lang.Object mergeValues(Attribute attribute,
java.lang.Object firstValue,
java.lang.Object secondValue)
AttributeMergePolicyAttribute values into one. It is possible that the
returned value will be one of the parameters, or a completely new
object.
mergeValues in class AttributeMergePolicyattribute - Attribute to merge
AttributeValue that is the result of merging given
values according to the policypublic java.lang.String getId()
getId in class AttributeMergePolicy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||