@Entity public class Component extends ComponentBase
ComponentType and contains information about the its identity
(ComponentId). In addition, it may contain information about the
location ( URI) and the usage ( MethodInterfaceDescription).id, urlsGSON_DEFAULT, GSON_PLAIN, GSON_PRETTY, version| Constructor and Description |
|---|
Component(ComponentId id)
Constructs a
Component without URLs or ComponentInterface. |
Component(ComponentId id,
List<URI> urls,
List<MethodInterfaceDescription> componentInterfaces)
|
Component(ComponentId id,
List<URI> urls,
MethodInterfaceDescription... componentInterface)
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<MethodInterfaceDescription> |
getComponentInterfaces()
Gets the a description of the methods provided by the
Component. |
int |
hashCode() |
void |
setComponentInterfaces(List<MethodInterfaceDescription> componentInterface)
Sets the a description of the methods provided by the
Component. |
addUrl, getId, getType, getUrls, getUrlsForProtocol, setId, setUrlsfromJson, getGson, getVersion, toJson, toStringpublic Component(ComponentId id)
Component without URLs or ComponentInterface.id - the unique ID of the Component.public Component(ComponentId id, List<URI> urls, List<MethodInterfaceDescription> componentInterfaces)
public Component(ComponentId id, List<URI> urls, MethodInterfaceDescription... componentInterface)
public List<MethodInterfaceDescription> getComponentInterfaces()
Component.Component
(i.e., its Interface)public void setComponentInterfaces(List<MethodInterfaceDescription> componentInterface)
Component.componentInterface - the list of methods provided by the
Component (i.e., its Interface)Copyright © 2018. All rights reserved.