Java Code Examples for com.rometools.rome.feed.impl.EqualsBean

The following examples show how to use com.rometools.rome.feed.impl.EqualsBean. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: rome   Source File: Item.java    License: Apache License 2.0 5 votes vote down vote up
/**
 * Indicates whether some other object is "equal to" this one as defined by the Object equals()
 * method.
 * <p>
 *
 * @param other he reference object with which to compare.
 * @return <b>true</b> if 'this' object is equal to the 'other' object.
 *
 */
@Override
public boolean equals(final Object other) {
    if (other == null || !(other instanceof Item)) {
        return false;
    }
    // can't use foreign markup in equals, due to JDOM equals impl
    final List<Element> fm = getForeignMarkup();
    setForeignMarkup(((Item) other).getForeignMarkup());
    final boolean ret = EqualsBean.beanEquals(this.getClass(), this, other);
    // restore foreign markup
    setForeignMarkup(fm);
    return ret;
}
 
Example 2
Source Project: rome   Source File: Outline.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object obj) {
    return EqualsBean.beanEquals(Outline.class, this, obj);
}
 
Example 3
Source Project: rome   Source File: Metadata.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object obj) {
    return EqualsBean.beanEquals(Metadata.class, this, obj);
}
 
Example 4
Source Project: rome   Source File: Metadata.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example 5
Source Project: rome   Source File: MediaGroup.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object obj) {
    return EqualsBean.beanEquals(this.getClass(), this, obj);
}
 
Example 6
Source Project: rome   Source File: MediaGroup.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example 7
Source Project: rome   Source File: Thumbnail.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example 8
Source Project: rome   Source File: Time.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object obj) {
    return EqualsBean.beanEquals(this.getClass(), this, obj);
}
 
Example 9
Source Project: rome   Source File: Category.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object obj) {
    return EqualsBean.beanEquals(this.getClass(), this, obj);
}
 
Example 10
Source Project: rome   Source File: PlayerReference.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example 11
Source Project: rome   Source File: MediaContent.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object obj) {
    return EqualsBean.beanEquals(MediaContent.class, this, obj);
}
 
Example 12
Source Project: rome   Source File: MediaContent.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example 13
Source Project: rome   Source File: Hash.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object obj) {
    return EqualsBean.beanEquals(this.getClass(), this, obj);
}
 
Example 14
Source Project: rome   Source File: Hash.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example 15
Source Project: rome   Source File: Rating.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object obj) {
    return EqualsBean.beanEquals(this.getClass(), this, obj);
}
 
Example 16
Source Project: rome   Source File: Text.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example 17
Source Project: rome   Source File: Restriction.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object obj) {
    return EqualsBean.beanEquals(this.getClass(), this, obj);
}
 
Example 18
Source Project: rome   Source File: UrlReference.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object obj) {
    return EqualsBean.beanEquals(this.getClass(), this, obj);
}
 
Example 19
Source Project: rome   Source File: UrlReference.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example 20
Source Project: rome   Source File: Credit.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object obj) {
    return EqualsBean.beanEquals(this.getClass(), this, obj);
}
 
Example 21
Source Project: rome   Source File: Credit.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example 22
Source Project: rome   Source File: ThreadingModuleImpl.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object obj) {
    return EqualsBean.beanEquals(ThreadingModuleImpl.class, this, obj);
}
 
Example 23
Source Project: rome   Source File: ThreadingModuleImpl.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example 24
Source Project: rome   Source File: Atmosphere.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object o) {
    return EqualsBean.beanEquals(Atmosphere.class, this, o);
}
 
Example 25
Source Project: rome   Source File: Atmosphere.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example 26
Source Project: rome   Source File: Forecast.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example 27
Source Project: rome   Source File: Units.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example 28
Source Project: rome   Source File: Astronomy.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object o) {
    return EqualsBean.beanEquals(Astronomy.class, this, o);
}
 
Example 29
Source Project: rome   Source File: Astronomy.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example 30
Source Project: rome   Source File: Condition.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object o) {
    return EqualsBean.beanEquals(Condition.class, this, o);
}