wt.tools.xref.specs
Class FieldSpec

java.lang.Object
  extended bywt.tools.xref.specs.PackageSpec
      extended bywt.tools.xref.specs.FieldSpec
All Implemented Interfaces:
Spec

public class FieldSpec
extends PackageSpec


Field Summary
private  String d_classInterfaceName
           
private  String d_fieldName
           
private  Spec d_fieldType
           
private  boolean d_final
          Indicates whether or not the field is a final field.
private  boolean d_static
          Indicates whether or not the field is a static field.
 
Fields inherited from class wt.tools.xref.specs.PackageSpec
 
Constructor Summary
FieldSpec(Spec fieldType, ClassInterfaceSpec ciSpec, String fieldName)
           
 
Method Summary
 String getClassInterfaceName()
           
 String getFieldName()
           
 Spec getFieldType()
           
 boolean getFinal()
           
 boolean getStatic()
           
 void setFinal(boolean value)
           
 void setStatic(boolean value)
           
 String toFileName()
          This method implements the WriteHtmlInterface.
 String toHrefDisplayString()
          This method implements the WriteHtmlInterface.
 String toSortString()
          This method is used in sorting containers of Spec objects.
 String toString()
           
 
Methods inherited from class wt.tools.xref.specs.PackageSpec
getPackageName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

d_fieldType

private Spec d_fieldType

d_classInterfaceName

private String d_classInterfaceName

d_fieldName

private String d_fieldName

d_static

private boolean d_static
Indicates whether or not the field is a static field.


d_final

private boolean d_final
Indicates whether or not the field is a final field.

Constructor Detail

FieldSpec

public FieldSpec(Spec fieldType,
                 ClassInterfaceSpec ciSpec,
                 String fieldName)
Method Detail

getStatic

public boolean getStatic()

setStatic

public void setStatic(boolean value)

getFinal

public boolean getFinal()

setFinal

public void setFinal(boolean value)

getClassInterfaceName

public String getClassInterfaceName()

getFieldType

public Spec getFieldType()

getFieldName

public String getFieldName()

toSortString

public String toSortString()
Description copied from interface: Spec
This method is used in sorting containers of Spec objects.

Specified by:
toSortString in interface Spec
Overrides:
toSortString in class PackageSpec

toString

public String toString()
Overrides:
toString in class PackageSpec

toFileName

public String toFileName()
This method implements the WriteHtmlInterface.


toHrefDisplayString

public String toHrefDisplayString()
This method implements the WriteHtmlInterface.