public class LogicalReference extends LogicalBindable
callbackOperations, operations, serviceContract| Constructor and Description |
|---|
LogicalReference(java.net.URI uri,
org.fabric3.api.model.type.component.Reference<org.fabric3.api.model.type.component.ComponentType> definition,
LogicalComponent<?> parent)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
org.fabric3.api.model.type.component.Reference<org.fabric3.api.model.type.component.Component> |
getComponentReference()
Gets the explicit reference associated with this logical reference.
|
org.fabric3.api.model.type.component.Reference<org.fabric3.api.model.type.component.ComponentType> |
getDefinition()
Returns the reference type definition.
|
java.util.List<LogicalWire> |
getWires()
Returns the wires for the reference.
|
int |
hashCode() |
boolean |
isResolved()
Returns true if this reference's target (or targets) has been resolved.
|
void |
setResolved(boolean resolved)
Sets if this reference's target (or targets) has been resolved.
|
addBinding, addCallbackBinding, getBindings, getCallbackBindings, isBoundcreateOperations, getCallbackOperations, getOperations, getServiceContract, getUri, setServiceContractaddMetadata, getMetadata, getParentpublic LogicalReference(java.net.URI uri,
org.fabric3.api.model.type.component.Reference<org.fabric3.api.model.type.component.ComponentType> definition,
LogicalComponent<?> parent)
uri - the reference URIdefinition - the reference type definitionparent - the parent componentpublic org.fabric3.api.model.type.component.Reference<org.fabric3.api.model.type.component.ComponentType> getDefinition()
public java.util.List<LogicalWire> getWires()
public boolean isResolved()
public void setResolved(boolean resolved)
resolved - true if resolved.public org.fabric3.api.model.type.component.Reference<org.fabric3.api.model.type.component.Component> getComponentReference()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object