format_geometrie
Class Attribute
java.lang.Object
format_geometrie.Attribute
- All Implemented Interfaces:
- java.io.Serializable
public class Attribute
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
|
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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.
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()