Record Class PeopleDirectoryAttribute
java.lang.Object
java.lang.Record
io.meeds.social.people.model.PeopleDirectoryAttribute
- Record Components:
name- the profile property namevalues- the selected valuesavailable- false when the property is no longer a visible, active, top-level setting, or the stored entry is not valid: the directory then lists nobody until the attribute is removed
public record PeopleDirectoryAttribute(String name, List<PeopleDirectoryAttributeValue> values, boolean available)
extends Record
An attribute of a People Directory filter, as its settings drawer shows it.
-
Constructor Summary
ConstructorsConstructorDescriptionPeopleDirectoryAttribute(String name, List<PeopleDirectoryAttributeValue> values, boolean available) Creates an instance of aPeopleDirectoryAttributerecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theavailablerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.values()Returns the value of thevaluesrecord component.
-
Constructor Details
-
PeopleDirectoryAttribute
public PeopleDirectoryAttribute(String name, List<PeopleDirectoryAttributeValue> values, boolean available) Creates an instance of aPeopleDirectoryAttributerecord class.
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
name
-
values
-
available
-