All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.openservices.ons.api.bean.SubscriptionExt Maven / Gradle / Ivy

There is a newer version: 1.9.3.Final
Show newest version
package com.aliyun.openservices.ons.api.bean;

/**
 * 订阅关系扩展类
 */
public class SubscriptionExt extends Subscription {
    private boolean persistence = true;

    public boolean isPersistence() {
        return persistence;
    }

    public void setPersistence(boolean persistence) {
        this.persistence = persistence;
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

    @Override
    public String toString() {
        return "Subscription [topic=" + super.getTopic() + ", expression=" + super.getExpression()
            + ", persistence=" + persistence + "]";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy