@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof BeanIdentifier) { if (this.hashCode() != obj.hashCode()) { return false; } if (obj instanceof StringBeanIdentifier) { StringBeanIdentifier that = (StringBeanIdentifier) obj; return this.value.equals(that.value); } BeanIdentifier that = (BeanIdentifier) obj; return this.value.equals(that.asString()); } return false; }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof BeanIdentifier) { if (this.hashCode() != obj.hashCode()) { return false; } if (obj instanceof StringBeanIdentifier) { StringBeanIdentifier that = (StringBeanIdentifier) obj; return this.value.equals(that.value); } BeanIdentifier that = (BeanIdentifier) obj; return this.value.equals(that.asString()); } return false; }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof BeanIdentifier) { if (this.hashCode() != obj.hashCode()) { return false; } if (obj instanceof StringBeanIdentifier) { StringBeanIdentifier that = (StringBeanIdentifier) obj; return this.value.equals(that.value); } BeanIdentifier that = (BeanIdentifier) obj; return this.value.equals(that.asString()); } return false; }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof BeanIdentifier) { if (this.hashCode() != obj.hashCode()) { return false; } if (obj instanceof StringBeanIdentifier) { StringBeanIdentifier that = (StringBeanIdentifier) obj; return this.value.equals(that.value); } BeanIdentifier that = (BeanIdentifier) obj; return this.value.equals(that.asString()); } return false; }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof BeanIdentifier) { if (this.hashCode() != obj.hashCode()) { return false; } if (obj instanceof StringBeanIdentifier) { StringBeanIdentifier that = (StringBeanIdentifier) obj; return this.value.equals(that.value); } BeanIdentifier that = (BeanIdentifier) obj; return this.value.equals(that.asString()); } return false; }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj instanceof BeanIdentifier) { if (this.hashCode() != obj.hashCode()) { return false; } if (obj instanceof StringBeanIdentifier) { StringBeanIdentifier that = (StringBeanIdentifier) obj; return this.value.equals(that.value); } BeanIdentifier that = (BeanIdentifier) obj; return this.value.equals(that.asString()); } return false; }