public Type getType() {
        return type;
    }
Returns if the owner has subscribed to receive notification of new items only
or of new nodes only. When subscribed to a Leaf Node then only {@code items}
is available.

@return whether the owner has subscribed to receive notification of new items only
        or of new nodes only.
xmppserver/src/main/java/org/jivesoftware/openfire/pubsub/NodeSubscription.java