org.jboss.iiop.rmi
Class ValueAnalysis

java.lang.Object
  extended byorg.jboss.iiop.rmi.AbstractAnalysis
      extended byorg.jboss.iiop.rmi.ClassAnalysis (src) 
          extended byorg.jboss.iiop.rmi.ContainerAnalysis (src) 
              extended byorg.jboss.iiop.rmi.ValueAnalysis
Direct Known Subclasses:
ExceptionAnalysis (src)

public class ValueAnalysis
extends ContainerAnalysis (src)

Value analysis. Routines here are conforming to the "Java(TM) Language to IDL Mapping Specification", version 1.1 (01-06-07).


Field Summary
 
Fields inherited from class org.jboss.iiop.rmi.ContainerAnalysis (src)
abstractBaseValuetypes, attributes, classHashCode, constants, F_CONSTANT, f_flags, F_SPFFIELD, fields, interfaces, m_flags, M_INHERITED, M_OVERLOADED, M_READ, M_READONLY, M_WRITE, M_WRITEOBJECT, memberPostfix, memberPrefix, methods, mutators, operations, repositoryId
 
Fields inherited from class org.jboss.iiop.rmi.ClassAnalysis (src)
cls
 
Constructor Summary
protected ValueAnalysis(java.lang.Class cls)
           
 
Method Summary
protected  void analyzeAttributes()
          Analyse attributes.
protected  void doAnalyze()
           
protected  java.util.ArrayList getContainedEntries()
          Return a list of all the entries contained here.
 java.lang.String getIDLModuleName()
          Return the fully qualified IDL module name that this analysis should be placed in.
 ValueMemberAnalysis (src) [] getMembers()
          Return the value members of this value class.
 ValueAnalysis (src) getSuperAnalysis()
          Returns the superclass analysis, or null if this inherits from java.lang.Object.
static ValueAnalysis (src) getValueAnalysis(java.lang.Class cls)
           
 boolean isAbstractValue()
          Returns true if this value is abstract.
 boolean isCustom()
          Returns true if this value is custom.
 boolean isExternalizable()
          Returns true if this value implements java.io.Externalizable.
 
Methods inherited from class org.jboss.iiop.rmi.ContainerAnalysis (src)
analyzeConstants, analyzeFields, analyzeInterfaces, analyzeMethods, analyzeOperations, attributeReadName, attributeWriteName, calculateClassHashCode, calculateRepositoryId, escapeIRName, fixupCaseNames, fixupOverloadedOperationNames, getAbstractBaseValuetypes, getAttributes, getConstants, getInterfaces, getMemberRepositoryId, getOperations, getRepositoryId, hasNonAppExceptions, isAccessor, isMutator, toHexString, toHexString
 
Methods inherited from class org.jboss.iiop.rmi.ClassAnalysis (src)
getCls, getIDLName, getJavaName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueAnalysis

protected ValueAnalysis(java.lang.Class cls)
Method Detail

getValueAnalysis

public static ValueAnalysis (src)  getValueAnalysis(java.lang.Class cls)
                                      throws RMIIIOPViolationException (src) 
Throws:
RMIIIOPViolationException (src)

getIDLModuleName

public java.lang.String getIDLModuleName()
Description copied from class: ContainerAnalysis (src)
Return the fully qualified IDL module name that this analysis should be placed in.

Overrides:
getIDLModuleName in class ContainerAnalysis (src)

doAnalyze

protected void doAnalyze()
                  throws RMIIIOPViolationException (src) 
Overrides:
doAnalyze in class ContainerAnalysis (src)
Throws:
RMIIIOPViolationException (src)

getSuperAnalysis

public ValueAnalysis (src)  getSuperAnalysis()
Returns the superclass analysis, or null if this inherits from java.lang.Object.


isAbstractValue

public boolean isAbstractValue()
Returns true if this value is abstract.


isCustom

public boolean isCustom()
Returns true if this value is custom.


isExternalizable

public boolean isExternalizable()
Returns true if this value implements java.io.Externalizable.


getMembers

public ValueMemberAnalysis (src) [] getMembers()
Return the value members of this value class.


analyzeAttributes

protected void analyzeAttributes()
                          throws RMIIIOPViolationException (src) 
Analyse attributes. This will fill in the attributes array. Here we override the implementation in ContainerAnalysis and create an empty array, because for valuetypes we don't want to analyse IDL attributes or operations (as in "rmic -idl -noValueMethods").

Overrides:
analyzeAttributes in class ContainerAnalysis (src)
Throws:
RMIIIOPViolationException (src)

getContainedEntries

protected java.util.ArrayList getContainedEntries()
Return a list of all the entries contained here.

Specified by:
getContainedEntries in class ContainerAnalysis (src)