org.jboss.metadata.spi.signature
Class FieldSignature

java.lang.Object
  extended by org.jboss.metadata.spi.signature.Signature
      extended by org.jboss.metadata.spi.signature.FieldSignature
Direct Known Subclasses:
JavassistFieldSignature

public class FieldSignature
extends Signature

Field Signature.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Field Summary
 
Fields inherited from class org.jboss.metadata.spi.signature.Signature
NO_NAME, NO_PARAMETER_TYPES, NO_PARAMETERS
 
Constructor Summary
FieldSignature(Field field)
          Create a new Signature.
FieldSignature(org.jboss.reflect.spi.FieldInfo field)
          Create a new Signature.
FieldSignature(String name)
          Create a new Signature.
 
Method Summary
 Field getField()
          Get the field.
 
Methods inherited from class org.jboss.metadata.spi.signature.Signature
convertParameters, convertParameterTypes, equals, getName, getParameters, getParametersTypes, getParameterTypes, getPrimativeArrayType, getSignature, getSignature, hashCode, internalToString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldSignature

public FieldSignature(String name)
Create a new Signature.

Parameters:
name - the name

FieldSignature

public FieldSignature(Field field)
Create a new Signature.

Parameters:
field - the field

FieldSignature

public FieldSignature(org.jboss.reflect.spi.FieldInfo field)
Create a new Signature.

Parameters:
field - the field
Method Detail

getField

public Field getField()
Get the field.

Returns:
the field could be null if not constructed with a field


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.