public class Add extends NavigateObjectPath<javax.jmi.reflect.RefFeatured>
| Constructor and Description |
|---|
Add(String[] path,
Object value) |
Add(String path,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
protected javax.jmi.reflect.RefFeatured |
processEmptyPath(javax.jmi.reflect.RefFeatured start)
Nothing to do
|
protected javax.jmi.reflect.RefFeatured |
processLast(javax.jmi.reflect.RefFeatured start,
javax.jmi.reflect.RefFeatured current,
String itemName,
Object actualValue)
Processing of the final attribute or association *-to-MANY in the path
|
protected javax.jmi.reflect.RefFeatured |
processLast(javax.jmi.reflect.RefFeatured start,
javax.jmi.reflect.RefFeatured current,
String itemName,
javax.jmi.reflect.RefFeatured associated)
Clear an association *-to-one
|
executepublic Add(String path, Object value)
NavigateObjectPathpublic Add(String[] path, Object value)
NavigateObjectPathprotected javax.jmi.reflect.RefFeatured processEmptyPath(javax.jmi.reflect.RefFeatured start)
processEmptyPath in class NavigateObjectPath<javax.jmi.reflect.RefFeatured>start - not null object the navigation started fromNavigateObjectPath.processEmptyPath(javax.jmi.reflect.RefFeatured)protected javax.jmi.reflect.RefFeatured processLast(javax.jmi.reflect.RefFeatured start, javax.jmi.reflect.RefFeatured current, String itemName, javax.jmi.reflect.RefFeatured associated)
processLast in class NavigateObjectPath<javax.jmi.reflect.RefFeatured>start - not null object the navigation started fromcurrent - not null object reached down the path EXCEPT the last name in that pathitemName - the non-null, non-empty last name in the path, which is an association *-to-ONE,
already validated as accessible through Navigator.getReflectiveValue(Object, String)associated - the reached last associated to current model element in the association itemNameNavigateObjectPath.processLast(javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefFeatured, java.lang.String, javax.jmi.reflect.RefFeatured)protected javax.jmi.reflect.RefFeatured processLast(javax.jmi.reflect.RefFeatured start, javax.jmi.reflect.RefFeatured current, String itemName, Object actualValue)
NavigateObjectPathprocessLast in class NavigateObjectPath<javax.jmi.reflect.RefFeatured>start - not null object the navigation started fromitemName - the non-null, non-empty last name in the path, which is an association *-to-MANY or attribute name,
already validated as accessible through Navigator.getReflectiveValue(Object, String)actualValue - the attribute value or association *-to-MANY reached at the end of the pathNavigateObjectPath.processLast(javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefFeatured, java.lang.String, java.lang.Object)Copyright © 2001–2018 MDA Tools. All rights reserved.