OpenMMS
V1.5.1 Std

org.rcsb.openmms.meta
Class ModuleTrans

java.lang.Object
  |
  +--org.rcsb.openmms.meta.Trans
        |
        +--org.rcsb.openmms.meta.ModuleTrans

public class ModuleTrans
extends Trans

Class for "Modules" in Cif to Idl Translation

Version:
1.4
Author:
Douglas S. Greer

Field Summary
protected  java.lang.String baseName
           
protected  ModuleTrans coreModule
           
protected  java.lang.String extName
           
protected  int number
           
protected  java.lang.String varName
           
 
Constructor Summary
ModuleTrans(int n, java.lang.String base, java.lang.String ext, java.lang.String var, ModuleTrans core)
           
 
Method Summary
 void accept(TransVisitor v)
           
 java.lang.String getBaseName()
           
 ModuleTrans getCoreModule()
           
 java.lang.String getEntryName()
           
 java.lang.String getExtensionName()
           
 int getModuleNumber()
           
 java.lang.String getVarName()
           
 boolean isCoreModule()
          boolean isCoreModule() returns true if this is the core (required) module where basic objects defined.
 
Methods inherited from class org.rcsb.openmms.meta.Trans
add, convertToFlagName, convertToUnderbar, getBlankLines, getChild, getComment, getName, getTransType, numberOfChildren, replace, setBlankLines, setComment, setTransType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

number

protected int number

coreModule

protected ModuleTrans coreModule

baseName

protected java.lang.String baseName

extName

protected java.lang.String extName

varName

protected java.lang.String varName
Constructor Detail

ModuleTrans

public ModuleTrans(int n,
                   java.lang.String base,
                   java.lang.String ext,
                   java.lang.String var,
                   ModuleTrans core)
Method Detail

accept

public void accept(TransVisitor v)
            throws java.io.IOException,
                   TransGenException
Specified by:
accept in class Trans
java.io.IOException
TransGenException

getModuleNumber

public int getModuleNumber()

getBaseName

public java.lang.String getBaseName()

getExtensionName

public java.lang.String getExtensionName()

getEntryName

public java.lang.String getEntryName()

getVarName

public java.lang.String getVarName()

isCoreModule

public boolean isCoreModule()
boolean isCoreModule() returns true if this is the core (required) module where basic objects defined. In other modules, this variable should be false.


getCoreModule

public ModuleTrans getCoreModule()

OpenMMS
V1.5.1 Std

OpenMMS, Copyright 2001, All rights reserved