/** * Indicates whether some other object is equal to this enumeration value. * @param o The reference object with which to compare. * @return true if the other object is the enumeration of the same type and * of the same value. */ public boolean equals(java.lang.Object o) { if (o instanceof AggregationKindEnum) return (o == this); else if (o instanceof AggregationKind) return (o.toString().equals(literalName)); else return ((o instanceof javax.jmi.reflect.RefEnum) && ((javax.jmi.reflect.RefEnum) o).refTypeName().equals(typeName) && o.toString().equals(literalName)); }
/** * Indicates whether some other object is equal to this enumeration value. * @param o The reference object with which to compare. * @return true if the other object is the enumeration of the same type and * of the same value. */ public boolean equals(java.lang.Object o) { if (o instanceof ParameterDirectionKindEnum) return (o == this); else if (o instanceof ParameterDirectionKind) return (o.toString().equals(literalName)); else return ((o instanceof javax.jmi.reflect.RefEnum) && ((javax.jmi.reflect.RefEnum) o).refTypeName().equals(typeName) && o.toString().equals(literalName)); }
/** * Indicates whether some other object is equal to this enumeration value. * @param o The reference object with which to compare. * @return true if the other object is the enumeration of the same type and * of the same value. */ public boolean equals(java.lang.Object o) { if (o instanceof PseudostateKindEnum) return (o == this); else if (o instanceof PseudostateKind) return (o.toString().equals(literalName)); else return ((o instanceof javax.jmi.reflect.RefEnum) && ((javax.jmi.reflect.RefEnum) o).refTypeName().equals(typeName) && o.toString().equals(literalName)); }
/** * Indicates whether some other object is equal to this enumeration value. * @param o The reference object with which to compare. * @return true if the other object is the enumeration of the same type and * of the same value. */ public boolean equals(java.lang.Object o) { if (o instanceof OrderingKindEnum) return (o == this); else if (o instanceof OrderingKind) return (o.toString().equals(literalName)); else return ((o instanceof javax.jmi.reflect.RefEnum) && ((javax.jmi.reflect.RefEnum) o).refTypeName().equals(typeName) && o.toString().equals(literalName)); }
/** * Indicates whether some other object is equal to this enumeration value. * @param o The reference object with which to compare. * @return true if the other object is the enumeration of the same type and * of the same value. */ public boolean equals(java.lang.Object o) { if (o instanceof CallConcurrencyKindEnum) return (o == this); else if (o instanceof CallConcurrencyKind) return (o.toString().equals(literalName)); else return ((o instanceof javax.jmi.reflect.RefEnum) && ((javax.jmi.reflect.RefEnum) o).refTypeName().equals(typeName) && o.toString().equals(literalName)); }
/** * Indicates whether some other object is equal to this enumeration value. * @param o The reference object with which to compare. * @return true if the other object is the enumeration of the same type and * of the same value. */ public boolean equals(java.lang.Object o) { if (o instanceof VisibilityKindEnum) return (o == this); else if (o instanceof VisibilityKind) return (o.toString().equals(literalName)); else return ((o instanceof javax.jmi.reflect.RefEnum) && ((javax.jmi.reflect.RefEnum) o).refTypeName().equals(typeName) && o.toString().equals(literalName)); }
/** * Indicates whether some other object is equal to this enumeration value. * @param o The reference object with which to compare. * @return true if the other object is the enumeration of the same type and * of the same value. */ public boolean equals(java.lang.Object o) { if (o instanceof OrderingKindEnum) return (o == this); else if (o instanceof OrderingKind) return (o.toString().equals(literalName)); else return ((o instanceof javax.jmi.reflect.RefEnum) && ((javax.jmi.reflect.RefEnum) o).refTypeName().equals(typeName) && o.toString().equals(literalName)); }
/** * Indicates whether some other object is equal to this enumeration value. * @param o The reference object with which to compare. * @return true if the other object is the enumeration of the same type and * of the same value. */ public boolean equals(java.lang.Object o) { if (o instanceof PseudostateKindEnum) return (o == this); else if (o instanceof PseudostateKind) return (o.toString().equals(literalName)); else return ((o instanceof javax.jmi.reflect.RefEnum) && ((javax.jmi.reflect.RefEnum) o).refTypeName().equals(typeName) && o.toString().equals(literalName)); }
/** * Indicates whether some other object is equal to this enumeration value. * @param o The reference object with which to compare. * @return true if the other object is the enumeration of the same type and * of the same value. */ public boolean equals(java.lang.Object o) { if (o instanceof ScopeKindEnum) return (o == this); else if (o instanceof ScopeKind) return (o.toString().equals(literalName)); else return ((o instanceof javax.jmi.reflect.RefEnum) && ((javax.jmi.reflect.RefEnum) o).refTypeName().equals(typeName) && o.toString().equals(literalName)); }
/** * Indicates whether some other object is equal to this enumeration value. * @param o The reference object with which to compare. * @return true if the other object is the enumeration of the same type and * of the same value. */ public boolean equals(java.lang.Object o) { if (o instanceof ParameterDirectionKindEnum) return (o == this); else if (o instanceof ParameterDirectionKind) return (o.toString().equals(literalName)); else return ((o instanceof javax.jmi.reflect.RefEnum) && ((javax.jmi.reflect.RefEnum) o).refTypeName().equals(typeName) && o.toString().equals(literalName)); }
/** * Indicates whether some other object is equal to this enumeration value. * @param o The reference object with which to compare. * @return true if the other object is the enumeration of the same type and * of the same value. */ public boolean equals(java.lang.Object o) { if (o instanceof AggregationKindEnum) return (o == this); else if (o instanceof AggregationKind) return (o.toString().equals(literalName)); else return ((o instanceof javax.jmi.reflect.RefEnum) && ((javax.jmi.reflect.RefEnum) o).refTypeName().equals(typeName) && o.toString().equals(literalName)); }
/** * Indicates whether some other object is equal to this enumeration value. * @param o The reference object with which to compare. * @return true if the other object is the enumeration of the same type and * of the same value. */ public boolean equals(java.lang.Object o) { if (o instanceof VisibilityKindEnum) return (o == this); else if (o instanceof VisibilityKind) return (o.toString().equals(literalName)); else return ((o instanceof javax.jmi.reflect.RefEnum) && ((javax.jmi.reflect.RefEnum) o).refTypeName().equals(typeName) && o.toString().equals(literalName)); }
/** * Indicates whether some other object is equal to this enumeration value. * @param o The reference object with which to compare. * @return true if the other object is the enumeration of the same type and * of the same value. */ public boolean equals(java.lang.Object o) { if (o instanceof ChangeableKindEnum) return (o == this); else if (o instanceof ChangeableKind) return (o.toString().equals(literalName)); else return ((o instanceof javax.jmi.reflect.RefEnum) && ((javax.jmi.reflect.RefEnum) o).refTypeName().equals(typeName) && o.toString().equals(literalName)); }
/** * Indicates whether some other object is equal to this enumeration value. * @param o The reference object with which to compare. * @return true if the other object is the enumeration of the same type and * of the same value. */ public boolean equals(java.lang.Object o) { if (o instanceof ScopeKindEnum) return (o == this); else if (o instanceof ScopeKind) return (o.toString().equals(literalName)); else return ((o instanceof javax.jmi.reflect.RefEnum) && ((javax.jmi.reflect.RefEnum) o).refTypeName().equals(typeName) && o.toString().equals(literalName)); }
/** * Indicates whether some other object is equal to this enumeration value. * @param o The reference object with which to compare. * @return true if the other object is the enumeration of the same type and * of the same value. */ public boolean equals(java.lang.Object o) { if (o instanceof CallConcurrencyKindEnum) return (o == this); else if (o instanceof CallConcurrencyKind) return (o.toString().equals(literalName)); else return ((o instanceof javax.jmi.reflect.RefEnum) && ((javax.jmi.reflect.RefEnum) o).refTypeName().equals(typeName) && o.toString().equals(literalName)); }
/** * Indicates whether some other object is equal to this enumeration value. * @param o The reference object with which to compare. * @return true if the other object is the enumeration of the same type and * of the same value. */ public boolean equals(java.lang.Object o) { if (o instanceof MessageDirectionKindEnum) return (o == this); else if (o instanceof MessageDirectionKind) return (o.toString().equals(literalName)); else return ((o instanceof javax.jmi.reflect.RefEnum) && ((javax.jmi.reflect.RefEnum) o).refTypeName().equals(typeName) && o.toString().equals(literalName)); }
/** * Indicates whether some other object is equal to this enumeration value. * @param o The reference object with which to compare. * @return true if the other object is the enumeration of the same type and * of the same value. */ public boolean equals(java.lang.Object o) { if (o instanceof ChangeableKindEnum) return (o == this); else if (o instanceof ChangeableKind) return (o.toString().equals(literalName)); else return ((o instanceof javax.jmi.reflect.RefEnum) && ((javax.jmi.reflect.RefEnum) o).refTypeName().equals(typeName) && o.toString().equals(literalName)); }
/** * @param result is the buffer where to add the obect's description * @param object non-null enum to print */ private void append(StringBuilder result, RefEnum object, Set visited) { result.append( "RefEnum ") .append( object.refTypeName() ) .append( " " ) .append( object.toString() ); }
public EnumValueNameImpl(RefPackage targetExtent, RefEnum enumValue) { this(constructEnumClassName(enumValue.refTypeName(), targetExtent), enumValue.toString()); }