Package tigase.pubsub
Enum Class Affiliation
- All Implemented Interfaces:
Serializable
,Comparable<Affiliation>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn entity that is disallowed from subscribing or publishing to a node.The manager of a node, of which there may be more than one; often but not necessarily the node creator.An entity that is allowed to publish items to a node.An entity that is allowed to publish items to a node. -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
boolean
boolean
boolean
boolean
boolean
boolean
static Affiliation
Returns the enum constant of this class with the specified name.static Affiliation[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
member
-
none
-
outcast
An entity that is disallowed from subscribing or publishing to a node. -
owner
The manager of a node, of which there may be more than one; often but not necessarily the node creator. -
publisher
An entity that is allowed to publish items to a node. -
publish_only
An entity that is allowed to publish items to a node.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getWeight
public int getWeight() -
isConfigureNode
public boolean isConfigureNode() -
isDeleteItem
public boolean isDeleteItem() -
isDeleteNode
public boolean isDeleteNode() -
isPublishItem
public boolean isPublishItem() -
isPurgeNode
public boolean isPurgeNode() -
isRetrieveItem
public boolean isRetrieveItem() -
isSubscribe
public boolean isSubscribe()
-