public boolean evaluate(Object object) { boolean valid = false; Object targetElement = ((DependencyFacade)object).getTargetElement(); if (targetElement instanceof ClassifierFacade) { ClassifierFacade element = (ClassifierFacade)targetElement; valid = element.isDataType() || element instanceof ValueObject || element instanceof EnumerationFacade; } return valid; } };
/** * <p> * True/false depending on whether or not this classifier * represents a datatype. A data type is a type whose instances are * identified only by their value. A data type may contain * attributes to support the modeling of structured data types. * </p> * @see ClassifierFacade#isDataType() */ public boolean isDataType() { return this.getSuperClassifierFacade().isDataType(); }
/** * <p> * True/false depending on whether or not this classifier * represents a datatype. A data type is a type whose instances are * identified only by their value. A data type may contain * attributes to support the modeling of structured data types. * </p> * @see ClassifierFacade#isDataType() */ public boolean isDataType() { return this.getSuperClassifierFacade().isDataType(); }
/** * <p> * True/false depending on whether or not this classifier * represents a datatype. A data type is a type whose instances are * identified only by their value. A data type may contain * attributes to support the modeling of structured data types. * </p> * @see ClassifierFacade#isDataType() */ public boolean isDataType() { return this.getSuperClassifierFacade().isDataType(); }
/** * <p> * True/false depending on whether or not this classifier * represents a datatype. A data type is a type whose instances are * identified only by their value. A data type may contain * attributes to support the modeling of structured data types. * </p> * @see ClassifierFacade#isDataType() */ public boolean isDataType() { return this.getSuperClassifierFacade().isDataType(); }
/** * <p> * True/false depending on whether or not this classifier * represents a datatype. A data type is a type whose instances are * identified only by their value. A data type may contain * attributes to support the modeling of structured data types. * </p> * @see ClassifierFacade#isDataType() */ public boolean isDataType() { return this.getSuperClassifierFacade().isDataType(); }
/** * <p> * True/false depending on whether or not this classifier * represents a datatype. A data type is a type whose instances are * identified only by their value. A data type may contain * attributes to support the modeling of structured data types. * </p> * @see ClassifierFacade#isDataType() */ public boolean isDataType() { return this.getSuperClassifierFacade().isDataType(); }
/** * <p> * True/false depending on whether or not this classifier * represents a datatype. A data type is a type whose instances are * identified only by their value. A data type may contain * attributes to support the modeling of structured data types. * </p> * @see ClassifierFacade#isDataType() */ public boolean isDataType() { return this.getSuperClassifierFacade().isDataType(); }
/** * <p> * True/false depending on whether or not this classifier * represents a datatype. A data type is a type whose instances are * identified only by their value. A data type may contain * attributes to support the modeling of structured data types. * </p> * @see ClassifierFacade#isDataType() */ public boolean isDataType() { return this.getSuperClassifierFacade().isDataType(); }
/** * <p> * True/false depending on whether or not this classifier * represents a datatype. A data type is a type whose instances are * identified only by their value. A data type may contain * attributes to support the modeling of structured data types. * </p> * @see ClassifierFacade#isDataType() */ public boolean isDataType() { return this.getSuperClassifierFacade().isDataType(); }
/** * <p> * True/false depending on whether or not this classifier * represents a datatype. A data type is a type whose instances are * identified only by their value. A data type may contain * attributes to support the modeling of structured data types. * </p> * @see ClassifierFacade#isDataType() */ public boolean isDataType() { return this.getSuperClassifierFacade().isDataType(); }
/** * <p> * True/false depending on whether or not this classifier * represents a datatype. A data type is a type whose instances are * identified only by their value. A data type may contain * attributes to support the modeling of structured data types. * </p> * @see ClassifierFacade#isDataType() */ public boolean isDataType() { return this.getSuperClassifierFacade().isDataType(); }
/** * <p> * True/false depending on whether or not this classifier * represents a datatype. A data type is a type whose instances are * identified only by their value. A data type may contain * attributes to support the modeling of structured data types. * </p> * @see ClassifierFacade#isDataType() */ public boolean isDataType() { return this.getSuperClassifierFacade().isDataType(); }
/** * <p> * True/false depending on whether or not this classifier * represents a datatype. A data type is a type whose instances are * identified only by their value. A data type may contain * attributes to support the modeling of structured data types. * </p> * @see ClassifierFacade#isDataType() */ public boolean isDataType() { return this.getSuperClassifierFacade().isDataType(); }
/** * <p> * True/false depending on whether or not this classifier * represents a datatype. A data type is a type whose instances are * identified only by their value. A data type may contain * attributes to support the modeling of structured data types. * </p> * @see ClassifierFacade#isDataType() */ public boolean isDataType() { return this.getSuperClassifierFacade().isDataType(); }
/** * @see EJB3EntityFacadeLogic#handleGetValueObjectReferences(boolean) */ protected Collection<DependencyFacade> handleGetValueObjectReferences(boolean follow) { final Collection<DependencyFacade> sourceDependencies = new ArrayList<DependencyFacade>(this.getSourceDependencies()); if (follow) { for (GeneralizableElementFacade entity = this.getGeneralization(); entity != null; entity = entity.getGeneralization()) { sourceDependencies.addAll(entity.getSourceDependencies()); } } Collection<DependencyFacade> valueDependencies = new ArrayList<DependencyFacade>(); for (DependencyFacade dependency : sourceDependencies) { Object targetElement = dependency.getTargetElement(); if (targetElement instanceof ClassifierFacade) { ClassifierFacade element = (ClassifierFacade)targetElement; if (element.isDataType() || element instanceof ValueObject || element instanceof EnumerationFacade) { valueDependencies.add(dependency); } } } return valueDependencies; }