format_geometrie
Class Attribute

java.lang.Object
  extended by format_geometrie.Attribute
All Implemented Interfaces:
java.io.Serializable

public class Attribute
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static int ATTRIBUTE_OPTION_IMPLIED
           
static int ATTRIBUTE_OPTION_NONE
           
static int ATTRIBUTE_OPTION_REQUIRED
           
static int ATTRIBUTE_ST_EXT_VALUES
           
static int ATTRIBUTE_ST_EXTERNAL
           
static int ATTRIBUTE_ST_NONE
           
 
Constructor Summary
Attribute(java.lang.String external)
          Contructor.
Attribute(java.lang.String name, KleeneStructure values, java.lang.String init, java.lang.String option)
           
Attribute(java.lang.String name, java.lang.String extValues, java.lang.String init, java.lang.String option)
          Contructor.
 
Method Summary
 java.lang.String getCall()
           
 java.lang.String getInitialValue()
           
 java.lang.String getName()
           
 int getOption()
           
 java.lang.String getOptionAsString()
           
 KleeneStructure getPossibleValues()
           
 int getType()
           
 void setPossibleValues(KleeneStructure ks)
           
 void setType(int status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTRIBUTE_OPTION_NONE

public static int ATTRIBUTE_OPTION_NONE

ATTRIBUTE_OPTION_REQUIRED

public static int ATTRIBUTE_OPTION_REQUIRED

ATTRIBUTE_OPTION_IMPLIED

public static int ATTRIBUTE_OPTION_IMPLIED

ATTRIBUTE_ST_NONE

public static int ATTRIBUTE_ST_NONE

ATTRIBUTE_ST_EXTERNAL

public static int ATTRIBUTE_ST_EXTERNAL

ATTRIBUTE_ST_EXT_VALUES

public static int ATTRIBUTE_ST_EXT_VALUES
Constructor Detail

Attribute

public Attribute(java.lang.String name,
                 KleeneStructure values,
                 java.lang.String init,
                 java.lang.String option)

Attribute

public Attribute(java.lang.String name,
                 java.lang.String extValues,
                 java.lang.String init,
                 java.lang.String option)
Contructor. Build a new Attribute, without its possible values. Its status is automaticaly set to "ATTRIBUTE_ST_EXT_VALUES". It has to be fill after the parsing and cannot be used that way.

Parameters:
name - Name of the attribute.
extValues - Name of the entity that contains the possibles values.
init - Eventual initialisation value.
option - Eventual option (Required/implied/..)

Attribute

public Attribute(java.lang.String external)
Contructor. Build a new link Attribute. Its status is automaticaly set to "ATTRIBUTE_ST_EXTERNAL". It has to be replace after the parsing and cannot be used that way.

Parameters:
external - Name of the entity that contains a common attribute.
Method Detail

getType

public int getType()

setType

public void setType(int status)

getCall

public java.lang.String getCall()

setPossibleValues

public void setPossibleValues(KleeneStructure ks)

getName

public java.lang.String getName()

getOption

public int getOption()

getOptionAsString

public java.lang.String getOptionAsString()

getInitialValue

public java.lang.String getInitialValue()

getPossibleValues

public KleeneStructure getPossibleValues()