public final class ServiceType extends Object implements Serializable
Constructor and Description |
---|
ServiceType(String serviceType)
creates a new ServiceType instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
check if two ServiceTypes are equal.
|
String |
getAbstractTypeName()
get the name of the abstract type of this ServiceType instance.
|
String |
getConcreteTypeName()
get the concrete type part of this ServiceType instance.
|
String |
getNamingAuthority()
get the naming authority.
|
String |
getPrincipleTypeName()
get the principle type part of this ServiceType instance.
|
int |
hashCode()
get the hashCode of this ServiceType instance.
|
boolean |
isAbstractType()
is the ServiceType instance an abstract type ?
|
boolean |
isNADefault()
is the naming authority default (IANA) ?
|
boolean |
isServiceURL()
is the ServiceType instance a ServiceURL ?
|
boolean |
matches(Object obj)
check if a ServiceType matches a ServiceURL or another ServiceType.
|
String |
toString()
get a String representation of this ServiceType instance.
|
public ServiceType(String serviceType)
serviceType
- the string representation of a ServiceType, e.g.
service:osgi:remote
public boolean isServiceURL()
public boolean isAbstractType()
public boolean isNADefault()
public String getConcreteTypeName()
public String getPrincipleTypeName()
public String getAbstractTypeName()
public String getNamingAuthority()
public boolean equals(Object obj)
public boolean matches(Object obj)
obj
- the object to be compared to.public String toString()
Copyright © 2018 universAAL Consortium. All rights reserved.