Record Class Group
java.lang.Object
java.lang.Record
tigase.ldap.utils.Group
- Record Components:
name- name of a groupmembershipPredicate- predicate that will return true if user belongs to the group
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Predicate<tigase.xmpp.jid.BareJID> Returns the value of themembershipPredicaterecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Group
Creates an instance of aGrouprecord class.- Parameters:
name- the value for thenamerecord componentmembershipPredicate- the value for themembershipPredicaterecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
name
-
membershipPredicate
Returns the value of themembershipPredicaterecord component.- Returns:
- the value of the
membershipPredicaterecord component
-