Interface ToManyMapProperty
- All Superinterfaces:
ArcProperty, PropertyDescriptor, ToManyProperty
A property representing a map of objects keyed by one of the object properties.
- Since:
- 3.0
-
Method Summary
Methods inherited from interface ArcProperty
getComplimentaryReverseArc, getComplimentaryReverseDbRelationshipPath, getRelationship, getTargetDescriptor, invalidate, isFaultModifier and TypeMethodDescriptionReturns a complimentary reverse ArcProperty or null if no reverse arc exists.Returns a path over reverse DbRelationships for this arc's ObjRelationship.Returns a relationship associated with this arc.Returns a ClassDescriptor for the type of graph nodes pointed to by this arc property.voidinvalidate(Object object) Turns a property of an object into a fault.booleanReturns whether a target node connected to a given object is an unresolved fault.Methods inherited from interface PropertyDescriptor
equals, getName, injectValueHolder, readProperty, readPropertyDirectly, visit, writeProperty, writePropertyDirectlyModifier and TypeMethodDescriptiondefault booleanAllows to use special logic to compare values for equality as in rare cases it is not sufficient to use the default equals() method.getName()Returns property name.voidinjectValueHolder(Object object) If a property is implemented as a ValueHolder, this operation would create an unfaulted value holder and inject it into the object, if an object doesn't have it set yet.readProperty(Object object) Returns a property value, inflating unresolved object if need.readPropertyDirectly(Object object) Returns a property value of an object without disturbing the object fault status.booleanvisit(PropertyVisitor visitor) A visitor accept method.voidwriteProperty(Object object, Object oldValue, Object newValue) Sets a property value, inflating unresolved object if need.voidwritePropertyDirectly(Object object, Object oldValue, Object newValue) Sets a property value of an object without disturbing the object fault status.Methods inherited from interface ToManyProperty
addTarget, addTargetDirectly, removeTarget, removeTargetDirectlyModifier and TypeMethodDescriptionvoidvoidaddTargetDirectly(Object source, Object target) Adds value to collection, without triggering changing events This method is mostly for internal usevoidremoveTarget(Object source, Object target, boolean setReverse) voidremoveTargetDirectly(Object source, Object target) Removes value from collection, without triggering changing events This method is mostly for internal use
-
Method Details
-
getMapKey
Extracts the map key of the target object.- Throws:
PropertyException
-