com.thinkaurelius.titan.graphdb.schema

## Class RelationTypeDefinition

- java.lang.Object
- - com.thinkaurelius.titan.graphdb.schema.SchemaElementDefinition
  - - com.thinkaurelius.titan.graphdb.schema.RelationTypeDefinition

- Direct Known Subclasses:
    EdgeLabelDefinition, PropertyKeyDefinition

      public abstract class RelationTypeDefinition
      extends SchemaElementDefinition

  Author:
    Matthias Broecheler (me@matthiasb.com)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RelationTypeDefinition(String name, long id, Multiplicity multiplicity)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Cardinality` | `getCardinality()`
    `Multiplicity` | `getMultiplicity()`
    `abstract boolean` | `isUnidirected(com.tinkerpop.blueprints.Direction dir)`

    - ### Methods inherited from class com.thinkaurelius.titan.graphdb.schema.SchemaElementDefinition

      `equals, getLongId, getName, hashCode, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### RelationTypeDefinition

          public RelationTypeDefinition(String name,
                                long id,
                                Multiplicity multiplicity)

  - ### Method Detail

    - #### getMultiplicity

          public Multiplicity getMultiplicity()

    - #### getCardinality

          public Cardinality getCardinality()

    - #### isUnidirected

          public abstract boolean isUnidirected(com.tinkerpop.blueprints.Direction dir)

Copyright © 2012–2014. All rights reserved.