@Entity public class NCSComponent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
NCSComponent.DependencyRequirements |
static class |
NCSComponent.NodeIdentification |
Constructor and Description |
---|
NCSComponent() |
NCSComponent(String type,
String foreignSource,
String foreignId) |
public NCSComponent(String type, String foreignSource, String foreignId)
type
- foreignSource
- foreignId
- public NCSComponent()
public Long getId()
public void setId(Long id)
public Integer getVersion()
public void setVersion(Integer version)
public String getForeignSource()
public void setForeignSource(String foreignSource)
public String getForeignId()
public void setForeignId(String foreignId)
public String getType()
public void setType(String type)
public NCSComponent.NodeIdentification getNodeIdentification()
public void setNodeIdentification(NCSComponent.NodeIdentification nodeIdentification)
public String getName()
public void setName(String name)
public String getUpEventUei()
public void setUpEventUei(String upEventUei)
public String getDownEventUei()
public void setDownEventUei(String downEventUei)
public NCSComponent.DependencyRequirements getDependenciesRequired()
public void setDependenciesRequired(NCSComponent.DependencyRequirements dependenciesRequired)
public Set<NCSComponent> getParentComponents()
public void setParentComponents(Set<NCSComponent> parents)
public Set<NCSComponent> getSubcomponents()
public void setSubcomponents(Set<NCSComponent> subComponents)
public void addSubcomponent(NCSComponent subComponent)
public void removeSubcomponent(NCSComponent subComponent)
public NCSComponent getSubcomponent(String foreignSource, String foreignId)
foreignSource
- foreignId
- public boolean hasIdentity(String foreignSource, String foreignId)
foreignSource
- foreignId
- public void visit(NCSComponentVisitor visitor)
Copyright © 2019. All rights reserved.