public class MappedDomain extends Object implements oracle.fmwplatform.envspec.common.EntityWithId
| Constructor and Description |
|---|
MappedDomain()
Creates an instance of MappedDomain.
|
MappedDomain(Domain domain)
Creates an instance of MappedDomain based on the Domain specified.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAllMappedServers(List<MappedServer> servers) |
boolean |
addAllMappedSystemComponents(List<MappedSystemComponent> mappedSystemComponents)
Add the specified list of SystemComponent mappings to the list of
systemComponentRefs that this MappedDomain is mapped to.
|
boolean |
addAllSystemComponents(List<SystemComponent> systemComponents)
Maps the input list of SystemComponents to the domain.
|
boolean |
addMappedServer(MappedServer server)
Add the specified Server id to the list of serverRefs that this MappedDomain is mapped to.
|
boolean |
addMappedServer(ServerBinding serverBinding)
adds a mapped server to this mapped domain for the specified server binding
|
boolean |
addMappedServers(List<ServerBinding> serverBindings)
adds a mapped server to this mapped domain for each server binding in the specified list
|
boolean |
addMappedSystemComponent(MappedSystemComponent mappedSystemComponent)
Add the specified SystemComponent mapping to the list of
systemComponentRefs that this MappedDomain is mapped to.
|
boolean |
addSystemComponent(SystemComponent systemComponent)
Maps the input SystemComponent to the domain.
|
Domain |
getDomain()
Returns the domain mapped to this host.
|
String |
getId()
Returns the id that is used to reference this MappedDomain.
|
MappedServer |
getMappedServer(String id)
Get the MappedServer corresponding to ID, or null if not found.
|
MappedServer |
getMappedServerByServerID(String serverId)
Get the MappedServer corresponding to the underlying server ID, or null if not found.
|
List<MappedServer> |
getMappedServers()
Returns the list of Servers id that this MappedDomain refers to or an empty list if no Servers are mapped.
|
MappedSystemComponent |
getMappedSystemComponentById(String mappedSystemComponentId)
Get the MappedSystemComponent corresponding to ID, or null if not found.
|
MappedSystemComponent |
getMappedSystemComponentBySystemComponentId(String systemComponentId)
Identifies a SystemComponent mapping corresponding to the input Id of a
SystemComponent instance. |
List<MappedSystemComponent> |
getMappedSystemComponents()
Returns the list of SystemComponents mappings that this MappedDomain
refers to or an empty list if no SystemComponents are mapped.
|
NodeManager |
getNodeManager()
Returns the NodeManager that this MappedDomain is mapped to or null if no NodeManager has been mapped.
|
boolean |
removeMappedServer(MappedServer mappedServer)
Remove a mapped server from this mapped domain.
|
boolean |
removeMappedServer(String id)
Remove a mapped server from this mapped domain.
|
MappedDomain |
removeMappedServers()
Remove all mapped servers from this mapped domain.
|
boolean |
removeMappedSystemComponent(MappedSystemComponent mappedSystemComponent)
Remove a SystemComponent mapping from this mapped domain.
|
boolean |
removeMappedSystemComponentById(String mappedSystemComponentId)
Remove a SystemComponent mapping identified by input id from this mapped
domain.
|
boolean |
removeMappedSystemComponentBySystemComponentId(String systemComponentId)
Remove a SystemComponent mapping identified by input id of
SystemComponent represented by the mapping from this mapped domain.
|
MappedDomain |
removeMappedSystemComponents()
Remove all mapped SystemComponents from this mapped domain.
|
MappedDomain |
setDomain(Domain domain)
Set the domain.
|
MappedDomain |
setId(String id)
Sets the id that is used to reference this MappedDomain.
|
MappedDomain |
setNodeManager(NodeManager nodeManager)
Sets the NodeManager that is to be mapped by this MappedDomain or null.
|
String |
toCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toJsonCompactString()
Returns a compact string representation of the object in JSON format.
|
String |
toJsonString()
Returns a string representation of the object in JSON format.
|
String |
toString()
Returns a string representation of the object in XML format.
|
String |
toXmlCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toXmlString()
Returns a string representation of the object in XML format.
|
public MappedDomain()
public MappedDomain(Domain domain)
domain - the Domain that is to be mappedpublic Domain getDomain()
public MappedDomain setDomain(Domain domain)
domain - the domainpublic String getId()
getId in interface oracle.fmwplatform.envspec.common.EntityWithIdpublic MappedDomain setId(String id)
setId in interface oracle.fmwplatform.envspec.common.EntityWithIdid - the id that is used to reference this MappedDomainpublic NodeManager getNodeManager()
public boolean addMappedServer(MappedServer server) throws IllegalArgumentException
server - The Server id to be added to the list of serverRefsIllegalArgumentExceptionpublic boolean addAllMappedServers(List<MappedServer> servers) throws IllegalArgumentException
IllegalArgumentExceptionpublic boolean addMappedServers(List<ServerBinding> serverBindings)
serverBindings - - List of ServerBindings of a domain.public boolean addMappedServer(ServerBinding serverBinding)
serverBinding - the server binding to be addedpublic List<MappedServer> getMappedServers()
public boolean removeMappedServer(MappedServer mappedServer)
mappedServer - the MappedServer object to be removed from this MappedDomainpublic boolean removeMappedServer(String id)
id - the ID of the mapped server in this mapped domainpublic MappedDomain removeMappedServers()
public MappedServer getMappedServerByServerID(String serverId)
serverId - the ID of the server from a domain profilepublic MappedServer getMappedServer(String id)
id - the ID of the mapped server in this mapped domainpublic MappedDomain setNodeManager(NodeManager nodeManager)
nodeManager - the NodeManager that is to be mapped by this MappedDomain or nullpublic boolean addMappedSystemComponent(MappedSystemComponent mappedSystemComponent)
mappedSystemComponent - The SystemComponent mapping to be added to the list of
systemComponentRefspublic boolean addAllMappedSystemComponents(List<MappedSystemComponent> mappedSystemComponents)
mappedSystemComponents - The SystemComponent mappings to be added to the list of
systemComponentRefspublic boolean addAllSystemComponents(List<SystemComponent> systemComponents)
systemComponents - - list of SystemComponents to be mappedpublic boolean addSystemComponent(SystemComponent systemComponent)
systemComponent - - SystemComponent instance to be mappedpublic List<MappedSystemComponent> getMappedSystemComponents()
public boolean removeMappedSystemComponent(MappedSystemComponent mappedSystemComponent)
mappedSystemComponent - the MappedSystemComponent object to be removed from this
MappedDomainpublic boolean removeMappedSystemComponentById(String mappedSystemComponentId)
mappedSystemComponentId - the ID of the mapped SystemComponent in this mapped domainpublic boolean removeMappedSystemComponentBySystemComponentId(String systemComponentId)
systemComponentId - the ID of the SystemComponent for which mapping is to be
removed in this mapped domainpublic MappedDomain removeMappedSystemComponents()
public MappedSystemComponent getMappedSystemComponentBySystemComponentId(String systemComponentId)
SystemComponent instance.systemComponentId - - Id of a SystemComponent instance for which mapping
is to be identifiedMappedSystemComponent instance
corresponding to the input id, null otherwisepublic MappedSystemComponent getMappedSystemComponentById(String mappedSystemComponentId)
mappedSystemComponentId - the ID of the mapped SystemComponent in this mapped domainpublic String toXmlCompactString()
public String toXmlString()
public String toJsonCompactString()
public String toJsonString()
public String toCompactString()