public class MappedOracleHome extends Object implements oracle.fmwplatform.util.validation.ValidationParticipant
| Constructor and Description |
|---|
MappedOracleHome()
Creates an instance of a MappedOracleHome.
|
MappedOracleHome(OracleHome oracleHome)
Creates a MappedOracleHome that is based on the OracleHome specified.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAllMappedDomains(List<MappedDomain> mappedDomains)
Adds the specified list of MappedDomains to the list of MappedDomains that this MappedOracleHome is mapped to.
|
MappedDomain |
addDomain(Domain domain)
Adds the specified Domain to the list of Domain that this MappedOracleHome is mapped to.
|
boolean |
addMappedDomain(MappedDomain mappedDomain)
Adds the specified MappedDomain to the list of MappedDomains that this MappedOracleHome is mapped to.
|
List<MappedDomain> |
getMappedDomains()
Returns the MappedDomains this MappedOracleHome is mapped to.
|
OracleHome |
getOracleHome()
Returns the OracleHome that this MappedOracleHome is based on.
|
MappedOracleHome |
setMappedDomains(List<MappedDomain> mappedDomains)
Sets the MappedDomains that are mapped by this MappedOracleHome.
|
MappedOracleHome |
setOracleHome(OracleHome oracleHome)
Sets the OracleHome that this MappedOracleHome is based on or null.
|
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.
|
void |
validate(oracle.fmwplatform.util.validation.Validate validate)
Implement ValidationParticipant to verify that no domain is mapped multiple times.
|
public MappedOracleHome()
public MappedOracleHome(OracleHome oracleHome) throws IllegalArgumentException
oracleHome - the OracleHome that this MappedOracleHome is to be based onIllegalArgumentExceptionpublic boolean addMappedDomain(MappedDomain mappedDomain) throws IllegalArgumentException
mappedDomain - the Domain to add to the list of Domains that this MappedOracleHome is mapped totrue if the list has changed as a result of this callIllegalArgumentExceptionpublic boolean addAllMappedDomains(List<MappedDomain> mappedDomains) throws IllegalArgumentException
mappedDomains - the Domain to add to the list of Domains that this MappedOracleHome is mapped totrue if the list has changed as a result of this callIllegalArgumentExceptionpublic MappedDomain addDomain(Domain domain) throws IllegalArgumentException
domain - the Domain to add to the list of Domains that this MappedOracleHome is mapped toIllegalArgumentExceptionpublic List<MappedDomain> getMappedDomains()
public OracleHome getOracleHome()
public MappedOracleHome setMappedDomains(List<MappedDomain> mappedDomains)
mappedDomains - the MappedDomains that are mapped by this MappedOracleHomepublic MappedOracleHome setOracleHome(OracleHome oracleHome)
oracleHome - the OracleHome that this MappedOracleHome is based on or nullpublic void validate(oracle.fmwplatform.util.validation.Validate validate)
validate in interface oracle.fmwplatform.util.validation.ValidationParticipantvalidate - the Validate instance performing the validationpublic String toXmlCompactString()
public String toXmlString()
public String toCompactString()