public final class ServiceType extends ServiceDesignation
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
Determine if this service type is equal to another.
|
boolean |
equals(ServiceDesignation other)
Determine if this service type is equal to another.
|
boolean |
equals(ServiceType other)
Determine if this service type is equal to another.
|
String |
getAbstractType()
Get the abstract type of this service type.
|
String |
getAbstractTypeAuthority()
Get the abstract type authority of this service type.
|
String |
getUriScheme()
Get the concrete type name of this service type, if any.
|
String |
getUriSchemeAuthority()
Get the concrete type authority name of this service type, if any.
|
int |
hashCode()
Get the hash code for this service type.
|
boolean |
implies(ServiceDesignation other)
Determine whether the given service designation is implied by this service designation.
|
boolean |
implies(ServiceType serviceType)
Determine if this service type implies the other service type.
|
boolean |
implies(ServiceURL serviceURL)
Determine if this service type implies the given service URL.
|
static ServiceType |
of(String abstractType,
String abstractTypeAuthority)
Get a service type with the given abstract type and optional abstract type authority.
|
static ServiceType |
of(String abstractType,
String abstractTypeAuthority,
String concreteType,
String concreteTypeAuthority)
Get a service type with the given abstract and concrete type and optional abstract and/or concrete type authority.
|
String |
toString()
Get the string representation of this service type.
|
public boolean implies(ServiceDesignation other)
ServiceDesignationimplies in class ServiceDesignationother - the other service designationtrue of the other service designation is implied by this one, false otherwisepublic boolean implies(ServiceType serviceType)
serviceType - the other service type (must not be null)true if the other service type is implied by this type, false otherwisepublic boolean implies(ServiceURL serviceURL)
serviceURL - the service URL (must not be null)true if the service URL is implied by this type, false otherwisepublic boolean equals(ServiceType other)
other - the other service typetrue if the service types are equal, false otherwisepublic boolean equals(ServiceDesignation other)
equals in class ServiceDesignationother - the other service typetrue if the service types are equal, false otherwisepublic boolean equals(Object other)
equals in class ServiceDesignationother - the other service typetrue if the service types are equal, false otherwisepublic int hashCode()
hashCode in class ServiceDesignationpublic String toString()
toString in class ServiceDesignationnull)public final String getAbstractType()
getAbstractType in class ServiceDesignationnull)public final String getAbstractTypeAuthority()
null
for this value.getAbstractTypeAuthority in class ServiceDesignationnull)public String getUriScheme()
getUriScheme in class ServiceDesignationnull)public String getUriSchemeAuthority()
getUriSchemeAuthority in class ServiceDesignationnull)public static ServiceType of(String abstractType, String abstractTypeAuthority)
abstractType - the abstract service type (must not be null)abstractTypeAuthority - the abstract type authority (may be null)null)public static ServiceType of(String abstractType, String abstractTypeAuthority, String concreteType, String concreteTypeAuthority)
abstractType - the abstract service type (must not be null)abstractTypeAuthority - the abstract type authority (may be null)concreteType - the concrete service type (must not be null)concreteTypeAuthority - the concrete type authority (may be null)null)Copyright © 2017 JBoss by Red Hat. All rights reserved.