Skip navigation links

Oracle Fusion Middleware Infrastructure Management Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1.6.3)
E10659-09


oracle.soa.management
Class CompositeDN

java.lang.Object
  extended by oracle.soa.management.CompositeDN

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CompositeDN>

public class CompositeDN
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable<CompositeDN>

Unique identifier for a composite. Consists of

The string representation of a composite DN has the following format
/<partition name>/<composite name>!<revision> where revision is optional.

See Also:
Serialized Form

Field Summary
static java.lang.String COMPOSITE_DL
           
static java.util.regex.Pattern compositeDLPattern
           
static java.lang.String LABEL_DL
           
static java.util.regex.Pattern labelDLPattern
           
static java.lang.String REVISION_DL
           
static java.util.regex.Pattern revisionDLPattern
           

 

Constructor Summary
CompositeDN(java.lang.String dn)
          String based constructor
CompositeDN(java.lang.String domainName, java.lang.String compositeName, java.lang.String revision)
          Typed constructor for a composite DN

 

Method Summary
 int compareTo(CompositeDN o)
           
 boolean equals(java.lang.Object dn)
          Compares to composite DNs with each other
 java.lang.String getCompositeName()
          Get the name of the composite dn
 java.lang.String getDomainName()
          Get the partition name the composite described hereby belongs to
 java.lang.String getRevision()
          Get the revision of the composite dn
 java.lang.String getStringDN()
          Get the string representation of the composite dn
 int hashCode()
           
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Field Detail

COMPOSITE_DL

public static final java.lang.String COMPOSITE_DL
See Also:
Constant Field Values

REVISION_DL

public static final java.lang.String REVISION_DL
See Also:
Constant Field Values

LABEL_DL

public static final java.lang.String LABEL_DL
See Also:
Constant Field Values

compositeDLPattern

public static java.util.regex.Pattern compositeDLPattern

revisionDLPattern

public static java.util.regex.Pattern revisionDLPattern

labelDLPattern

public static java.util.regex.Pattern labelDLPattern

Constructor Detail

CompositeDN

public CompositeDN(java.lang.String dn)
String based constructor
Parameters:
dn - the distinguished name in string format
Format: <partition name>/<composite name>!<revision>
Example: default/OrderBookingComposite*1.0

CompositeDN

public CompositeDN(java.lang.String domainName,
                   java.lang.String compositeName,
                   java.lang.String revision)
Typed constructor for a composite DN
Parameters:
domainName - the name of the partition (e.g. default)
compositeName - the name of the composite (e.g. OrderBookingComposite)
revision - the (optional) revision, leave empty for default

Method Detail

getDomainName

public java.lang.String getDomainName()
Get the partition name the composite described hereby belongs to
Returns:
the name of the partition

getCompositeName

public java.lang.String getCompositeName()
Get the name of the composite dn
Returns:
the name of the composite

getRevision

public java.lang.String getRevision()
Get the revision of the composite dn
Returns:

getStringDN

public java.lang.String getStringDN()
Get the string representation of the composite dn
Returns:
the composite dn in string format

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
the composite dn in string format
See Also:
getStringDN()

compareTo

public int compareTo(CompositeDN o)
Specified by:
compareTo in interface java.lang.Comparable<CompositeDN>

equals

public boolean equals(java.lang.Object dn)
Compares to composite DNs with each other
Overrides:
equals in class java.lang.Object
Parameters:
dn - the DN to compare the current instance of a DN with
Returns:
true in case the two are the same, based on their content

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Skip navigation links

Oracle Fusion Middleware Infrastructure Management Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1.6.3)
E10659-09


Copyright © 2010, 2012, Oracle and/or its affiliates. All rights reserved.