public class AuthorizationWrapper extends Object
| Constructor and Description |
|---|
AuthorizationWrapper(tecgraf.openbus.core.v2_1.services.offer_registry.admin.v1_0.RegisteredEntityDesc desc,
String interfaceName)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
static List<AuthorizationWrapper> |
convertToInfo(Map<tecgraf.openbus.core.v2_1.services.offer_registry.admin.v1_0.RegisteredEntityDesc,List<String>> authorizationsMap)
Método utilitário para converter um mapa de autorizações em uma lista de
AuthorizationWrapper |
boolean |
equals(Object o)
Compara um objeto à instância de
AuthorizationWrapper. |
tecgraf.openbus.core.v2_1.services.offer_registry.admin.v1_0.RegisteredEntityDesc |
getEntityDescriptor()
Recupera o objeto descritor da entidade autorizada.
|
String |
getEntityId()
Recupera o identificador da entidade autorizada.
|
String |
getInterface()
Recupera a interface.
|
int |
hashCode()
Código hash do objeto.
|
public AuthorizationWrapper(tecgraf.openbus.core.v2_1.services.offer_registry.admin.v1_0.RegisteredEntityDesc desc,
String interfaceName)
desc - descritor da entidade autorizadainterfaceName - nome da interface a ser autorizadapublic boolean equals(Object o)
AuthorizationWrapper.
O método não leva em consideração o objeto descritor da autorização.public int hashCode()
public String getInterface()
public String getEntityId()
public tecgraf.openbus.core.v2_1.services.offer_registry.admin.v1_0.RegisteredEntityDesc getEntityDescriptor()
public static List<AuthorizationWrapper> convertToInfo(Map<tecgraf.openbus.core.v2_1.services.offer_registry.admin.v1_0.RegisteredEntityDesc,List<String>> authorizationsMap)
AuthorizationWrapperauthorizationsMap - o mapa de autorizaçõesAuthorizationWrapperCopyright © 2017. All rights reserved.