/** * Returns the type hold the kind of communication it will allow or block. * It MUST be filled with one of these values: jid, group or subscription. * * @return the type of communication it represent. */ public Type getType() { if (this.getRule() == null) { return null; } else { return this.getRule().getType(); } }
/** * Returns the type hold the kind of communication it will allow or block. * It MUST be filled with one of these values: jid, group or subscription. * * @return the type of communication it represent. */ public Type getType() { if (this.getRule() == null) { return null; } else { return this.getRule().getType(); } }
/** * Returns the type hold the kind of communication it will allow or block. * It MUST be filled with one of these values: jid, group or subscription. * * @return the type of communication it represent. */ public Type getType() { if (this.getRule() == null) { return null; } else { return this.getRule().getType(); } }
/** * Returns if the receiver represents a subscription rule. * * @return if the receiver represents a subscription rule. */ public boolean isSuscription () { return this.getType() == Type.subscription; } }
/** * Returns if the receiver represents a subscription rule. * * @return if the receiver represents a subscription rule. */ public boolean isSuscription () { return this.getType() == Type.subscription; } }
/** * Returns if the receiver represents a subscription rule. * * @return if the receiver represents a subscription rule. */ public boolean isSuscription () { return this.getType() == Type.subscription; } }