dk.brics.xact.analysis.flowgraph
Class SchemaType

java.lang.Object
  extended by dk.brics.xact.analysis.flowgraph.Entity
      extended by dk.brics.xact.analysis.flowgraph.SchemaType

public class SchemaType
extends Entity

Schema type.


Constructor Summary
SchemaType(String type, Collection<String> tgaps, Collection<String> agaps, Map<String,String> gap_types, Origin origin)
          Constructs a new schema type.
SchemaType(String type, Origin origin)
          Constructs a new schema type with no gap info.
 
Method Summary
 Collection<String> getAttributeGaps()
          Returns the collection of attribute gaps,
 Map<String,Node> getGapTypeNodes()
           
 Map<String,String> getGapTypes()
          Returns the gap type map,
 Collection<String> getTemplateGaps()
          Returns the collection of template gaps,
 String getType()
          Returns the type string.
 Node getTypeNode()
           
 boolean hasGapAnnotations()
          Returns whether this schema type has gap annotations, equivalent to !
 void setTypeNode(Node typeNode)
           
 
Methods inherited from class dk.brics.xact.analysis.flowgraph.Entity
getOrigin, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SchemaType

public SchemaType(String type,
                  Collection<String> tgaps,
                  Collection<String> agaps,
                  Map<String,String> gap_types,
                  Origin origin)
Constructs a new schema type.


SchemaType

public SchemaType(String type,
                  Origin origin)
Constructs a new schema type with no gap info.

Method Detail

getAttributeGaps

public Collection<String> getAttributeGaps()
Returns the collection of attribute gaps,


getGapTypeNodes

public Map<String,Node> getGapTypeNodes()

getGapTypes

public Map<String,String> getGapTypes()
Returns the gap type map,


getTemplateGaps

public Collection<String> getTemplateGaps()
Returns the collection of template gaps,


getType

public String getType()
Returns the type string.


getTypeNode

public Node getTypeNode()

hasGapAnnotations

public boolean hasGapAnnotations()
Returns whether this schema type has gap annotations, equivalent to !getGapTypes().isEmpty().


setTypeNode

public void setTypeNode(Node typeNode)


Copyright © 2005-2011 Aarhus University.