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

The following examples show how to use com.rometools.rome.feed.impl.EqualsBean. 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 File: Item.java    From rome with 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 File: CreativeCommonsImpl.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object obj) {
    return EqualsBean.beanEquals(CreativeCommonsImpl.class, this, obj);
}
 
Example #3
Source File: License.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example #4
Source File: PodloveSimpleChapterModuleImpl.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object obj) {
    return EqualsBean.beanEquals(PodloveSimpleChapterModuleImpl.class, this, obj);
}
 
Example #5
Source File: ThreadingModuleImpl.java    From rome with 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 #6
Source File: Location.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object o) {
    return EqualsBean.beanEquals(Location.class, this, o);
}
 
Example #7
Source File: Wind.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example #8
Source File: Wind.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object o) {
    return EqualsBean.beanEquals(Wind.class, this, o);
}
 
Example #9
Source File: Location.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example #10
Source File: SleEntryImpl.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example #11
Source File: NumberValue.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object o) {
    return EqualsBean.beanEquals(NumberValue.class, this, o);
}
 
Example #12
Source File: NumberValue.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example #13
Source File: Sort.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object o) {
    return EqualsBean.beanEquals(Sort.class, this, o);
}
 
Example #14
Source File: StringValue.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object o) {
    return EqualsBean.beanEquals(StringValue.class, this, o);
}
 
Example #15
Source File: Attribute.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object obj) {
    return EqualsBean.beanEquals(Attribute.class, this, obj);
}
 
Example #16
Source File: Group.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example #17
Source File: Condition.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example #18
Source File: Condition.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public boolean equals(final Object o) {
    return EqualsBean.beanEquals(Condition.class, this, o);
}
 
Example #19
Source File: Astronomy.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example #20
Source File: Astronomy.java    From rome with 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 #21
Source File: Units.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example #22
Source File: PodloveSimpleChapterModuleImpl.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example #23
Source File: SlashImpl.java    From rome with 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 #24
Source File: Forecast.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example #25
Source File: Metadata.java    From rome with 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 #26
Source File: Atmosphere.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example #27
Source File: Atmosphere.java    From rome with 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 #28
Source File: ThreadingModuleImpl.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example #29
Source File: PhotocastModuleImpl.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}
 
Example #30
Source File: Credit.java    From rome with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return EqualsBean.beanHashCode(this);
}