Package br.unip.aps.ui.componentes
Record Class SeletorMapaBase.Opcao
java.lang.Object
java.lang.Record
br.unip.aps.ui.componentes.SeletorMapaBase.Opcao
- Enclosing class:
SeletorMapaBase
public static record SeletorMapaBase.Opcao(String id, String nome, String descricao, List<String> camadas)
extends Record
Um estilo de mapa-base;
camadas sao servicos de tiles da Esri sobrepostos na ordem.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncamadas()Returns the value of thecamadasrecord component.Returns the value of thedescricaorecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.nome()Returns the value of thenomerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Opcao
Creates an instance of aOpcaorecord class.- Parameters:
id- the value for theidrecord componentnome- the value for thenomerecord componentdescricao- the value for thedescricaorecord componentcamadas- the value for thecamadasrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
nome
Returns the value of thenomerecord component.- Returns:
- the value of the
nomerecord component
-
descricao
Returns the value of thedescricaorecord component.- Returns:
- the value of the
descricaorecord component
-
camadas
Returns the value of thecamadasrecord component.- Returns:
- the value of the
camadasrecord component
-