public interface TopologyData extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
addCI(CI ci)
Adds the CI to the list of modifications.
|
CI |
addCI(String type)
Creates a new CI of the specified type and adds it to the list of modifications.
|
CI |
addCI(UcmdbId id,
String type)
Creates a new CI of the specified type ID and adds it to the list of modifications.
|
void |
addCIs(Iterable<? extends CI> cis)
Adds all CIs from the collection to the list of modifications.
|
void |
addRelation(Relation relation)
Adds the specified relation to the list of modifications.
|
Relation |
addRelation(String type,
CI end1,
CI end2)
Creates a new relation of the specified type between the two CIs and adds it to the list of
modifications.
|
Relation |
addRelation(String type,
UcmdbId end1,
UcmdbId end2)
Creates a new relation of the specified type between the CIs with the specified IDs and adds it
to the list of modifications.
|
Relation |
addRelation(UcmdbId id,
String type,
CI end1,
CI end2) |
Relation |
addRelation(UcmdbId id,
String type,
UcmdbId end1,
UcmdbId end2) |
void |
addRelations(Iterable<? extends Relation> relations)
Adds the relations in the collection to the list of modifications.
|
CI |
getCI(UcmdbId id)
Returns the CI in this collection having the specified ID.
|
Iterable<CI> |
getCIs()
An
Iterable collection of the CIs to be modified. |
Iterable<Relation> |
getRelations()
An
Iterable collection of the Relations to be modified. |
boolean |
hasCIs()
Checks if there are any CIs in the list of modifications.
|
boolean |
hasRelations()
Checks if there are any Relations in the list of modifications.
|
void addCI(CI ci)
ci
- The ci to add.void addCIs(Iterable<? extends CI> cis)
cis
- The CIs to add.CI addCI(String type)
TopologyUpdateFactory.createCI(String)
addCI(com.hp.ucmdb.api.types.CI)
.type
- the type of the CI.TopologyUpdateFactory.createCI(String)
CI addCI(UcmdbId id, String type)
TopologyUpdateFactory.createCI(com.hp.ucmdb.api.types.UcmdbId, String)
addCI(com.hp.ucmdb.api.types.CI)
.id
- the id of the CI.type
- The type of the CI.TopologyUpdateFactory.createCI(com.hp.ucmdb.api.types.UcmdbId, String)
void addRelation(Relation relation)
relation
- The relation to add.void addRelations(Iterable<? extends Relation> relations)
relations
- The relations to add.Relation addRelation(String type, CI end1, CI end2)
TopologyUpdateFactory.createRelation(String, com.hp.ucmdb.api.types.CI, com.hp.ucmdb.api.types.CI)
addRelation(com.hp.ucmdb.api.types.Relation)
type
- The type of the relationend1
- The end1 CIend2
- The end2 CITopologyUpdateFactory.createRelation(String, com.hp.ucmdb.api.types.CI, com.hp.ucmdb.api.types.CI)
Relation addRelation(String type, UcmdbId end1, UcmdbId end2)
TopologyUpdateFactory.createRelation(String, com.hp.ucmdb.api.types.UcmdbId, com.hp.ucmdb.api.types.UcmdbId)
addRelation(com.hp.ucmdb.api.types.Relation)
type
- The type of the relationend1
- The end1 CI idend2
- The end2 CI idTopologyUpdateFactory.createRelation(String, com.hp.ucmdb.api.types.UcmdbId, com.hp.ucmdb.api.types.UcmdbId)
boolean hasCIs()
Iterable<CI> getCIs()
Iterable
collection of the CIs to be modified.CI getCI(UcmdbId id)
id
- The id of the requested CIboolean hasRelations()
Documentation Feedback
Copyright 2011 - 2018 Micro Focus or one of its affiliates.