Package org.pathvisio.libgpml.model
Class GPML2013aFormatAbstract.AttributeInfo
java.lang.Object
org.pathvisio.libgpml.model.GPML2013aFormatAbstract.AttributeInfo
- Enclosing class:
- GPML2013aFormatAbstract
protected static class GPML2013aFormatAbstract.AttributeInfo
extends java.lang.Object
Name of resource containing the gpml schema definition.
-
Field Summary
Fields Modifier and Type Field Description java.lang.Stringdefdefault value for the attributejava.lang.StringschemaTypexsd validated type.java.lang.Stringuseuse of the attribute: can be "required" or "optional" -
Constructor Summary
Constructors Constructor Description AttributeInfo(java.lang.String aSchemaType, java.lang.String aDef, java.lang.String aUse)Creates an object containing the gpml schema definition of a given attribute. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
schemaType
public java.lang.String schemaTypexsd validated type. Note that in the current implementation we don't do anything with restrictions, only with the base type. -
def
public java.lang.String defdefault value for the attribute -
use
public java.lang.String useuse of the attribute: can be "required" or "optional"
-
-
Constructor Details
-
AttributeInfo
AttributeInfo(java.lang.String aSchemaType, java.lang.String aDef, java.lang.String aUse)Creates an object containing the gpml schema definition of a given attribute.- Parameters:
aSchemaType- the xsd validated type of the attribute.aDef- the default value for the attribute.aUse- the use of the attribute.
-