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 |
addAllServerRefs(List<String> serverRefs)
Add the specified Server id to the list of serverRefs that this MappedDomain is mapped to.
|
boolean |
addServerRef(String serverRef)
Add the specified Server id to the list of serverRefs that this MappedDomain is mapped to.
|
Domain |
getDomain()
Returns the domain that this MappedDomain is based on.
|
String |
getId()
Returns the id that is used to reference this MappedDomain.
|
NodeManager |
getNodeManager()
Returns the NodeManager that this MappedDomain is mapped to or null if no NodeManager has been mapped.
|
List<String> |
getServerRefs()
Returns the list of Servers id that this MappedDomain refers to or an empty list if no Servers are mapped.
|
MappedDomain |
setDomain(Domain domain)
Sets the Domain that this MappedDomain is based on.
|
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.
|
MappedDomain |
setServerRefs(List<String> serverRefs)
Sets the Server ids of the Servers that are to mapped by this MappedDomain.
|
String |
toCompactString()
Returns a compact string representation of the object in JSON format.
|
String |
toString()
Returns a string representation of the object in JSON 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) throws IllegalArgumentException
domain
- the Domain that is to be mappedIllegalArgumentException
public Domain getDomain()
public String getId()
getId
in interface oracle.fmwplatform.envspec.common.EntityWithId
public NodeManager getNodeManager()
public boolean addServerRef(String serverRef) throws IllegalArgumentException
serverRef
- The Server id to be added to the list of serverRefstrue
if the list has changed as a result of this callIllegalArgumentException
public boolean addAllServerRefs(List<String> serverRefs) throws IllegalArgumentException
serverRefs
- The Server id to be added to the list of serverRefstrue
if the list has changed as a result of this callIllegalArgumentException
public List<String> getServerRefs()
public MappedDomain setDomain(Domain domain)
domain
- the Domain that this MappedDomain is to be based onpublic MappedDomain setId(String id)
setId
in interface oracle.fmwplatform.envspec.common.EntityWithId
id
- the id that is used to reference this MappedDomainpublic MappedDomain setNodeManager(NodeManager nodeManager)
nodeManager
- the NodeManager that is to be mapped by this MappedDomain or nullpublic MappedDomain setServerRefs(List<String> serverRefs)
serverRefs
- the Server ids of the Servers that are to mapped by this MappedDomainpublic String toXmlCompactString()
public String toXmlString()
public String toCompactString()