* @generated NOT
*/
public ViewPoint basicGetViewPoint() {
// ViewPoint is related to View via a Conform dependency
ViewPoint viewPoint = null;
Conform conform = null;
if(getBase_Package() != null) {
// Find Conform link
Iterator<Dependency> itDep = getBase_Package().getClientDependencies().iterator();
while(itDep.hasNext() && (conform == null)) {
Dependency currentDependency = itDep.next();
conform = UMLUtil.getStereotypeApplication(currentDependency, Conform.class);
}
// Find ViewPoint
if(conform != null) {
Iterator<Element> itElt = conform.getBase_Dependency().getTargets().iterator();
while(itElt.hasNext()) {
Element currentElt = itElt.next();
viewPoint = UMLUtil.getStereotypeApplication(currentElt, ViewPoint.class);
}
}