scs.core
Class Facet

java.lang.Object
  extended by scs.core.Facet

public final class Facet
extends Object

This class holds all the metadata pertinent to a facet, and represents it locally. It doesn't maintain a FacetDescription directly because the FacetDescription is an automatically generated class. The generated code sets all of its fields as public but these fields should not be manipulated freely.


Method Summary
 boolean equals(Object obj)
           
 FacetDescription getDescription()
          Provides the IDL structure FacetDescription of this facet.
 String getInterfaceName()
          Provides the interface of this facet.
 String getName()
          Provides the name of this facet.
 Object getReference()
          Provides the CORBA reference of this facet, as a CORBA object.
 Servant getServant()
          Provides the Servant instance of this facet, which is the Java class that implements the facet interface.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDescription

public FacetDescription getDescription()
Provides the IDL structure FacetDescription of this facet.

Returns:
FacetDescription The description.

getName

public String getName()
Provides the name of this facet.

Returns:
The facet name.

getInterfaceName

public String getInterfaceName()
Provides the interface of this facet.

Returns:
The facet interface.

getReference

public Object getReference()
Provides the CORBA reference of this facet, as a CORBA object.

Returns:
The CORBA object.

getServant

public Servant getServant()
Provides the Servant instance of this facet, which is the Java class that implements the facet interface.

Returns:
Servant The Java Servant.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2014. All Rights Reserved.