com.thinkaurelius.titan.graphdb.types.system

## Class BaseLabel

- java.lang.Object
- - com.thinkaurelius.titan.graphdb.types.system.EmptyVertex
  - - com.thinkaurelius.titan.graphdb.types.system.EmptyRelationType
    - - com.thinkaurelius.titan.graphdb.types.system.BaseRelationType
      - - com.thinkaurelius.titan.graphdb.types.system.BaseLabel

- All Implemented Interfaces:
    EdgeLabel, Idfiable, Namifiable, RelationType, TitanSchemaElement, TitanSchemaType, TitanElement, TitanVertex, InternalElement, InternalRelationType, InternalVertex, SystemRelationType, Removable, com.tinkerpop.blueprints.Element, com.tinkerpop.blueprints.Vertex

      public class BaseLabel
      extends BaseRelationType
      implements EdgeLabel

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static BaseLabel` | `SchemaDefinitionEdge`
    `static BaseLabel` | `VertexLabelEdge`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Multiplicity` | `getMultiplicity()` The `Multiplicity` for this edge label.
    `long[]` | `getSignature()`
    `boolean` | `isDirected()` Checks whether this labels is defined as directed.
    `boolean` | `isEdgeLabel()` Checks if this relation type is an edge label
    `boolean` | `isPropertyKey()` Checks if this relation type is a property key
    `boolean` | `isUnidirected()` Checks whether this labels is defined as unidirected.
    `boolean` | `isUnidirected(com.tinkerpop.blueprints.Direction dir)`

    - ### Methods inherited from class com.thinkaurelius.titan.graphdb.types.system.BaseRelationType

      `getConsistencyModifier, getLongId, getName, hasId, isHiddenType, setId`

    - ### Methods inherited from class com.thinkaurelius.titan.graphdb.types.system.EmptyRelationType

      `getBaseType, getKeyIndexes, getRelationIndexes, getSortKey, getSortOrder, getStatus, getTTL, isHidden`

    - ### Methods inherited from class com.thinkaurelius.titan.graphdb.types.system.EmptyVertex

      `addEdge, addEdge, addEdge, addProperty, addProperty, addRelation, getAddedRelations, getEdgeCount, getEdges, getEdges, getId, getLabel, getLifeCycle, getProperties, getProperties, getProperties, getProperty, getProperty, getPropertyCount, getPropertyKeys, getRelations, getTitanEdges, getVertexLabel, getVertices, hasAddedRelations, hasLoadedRelations, hasRemovedRelations, isConnected, isLoaded, isModified, isNew, isRemoved, it, loadRelations, query, remove, removeProperty, removeProperty, removeRelation, setProperty, setProperty, tx`

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface com.thinkaurelius.titan.core.TitanVertex

      `addEdge, addEdge, addProperty, addProperty, getEdgeCount, getEdges, getEdges, getLabel, getProperties, getProperties, getProperties, getPropertyCount, getRelations, getTitanEdges, getVertexLabel, isConnected, isModified, query`

    - ### Methods inherited from interface com.thinkaurelius.titan.core.TitanElement

      `getId, getLongId, getProperty, getProperty, hasId, isLoaded, isNew, isRemoved, remove, removeProperty, removeProperty, setProperty, setProperty`

    - ### Methods inherited from interface com.tinkerpop.blueprints.Vertex

      `addEdge, getVertices`

    - ### Methods inherited from interface com.tinkerpop.blueprints.Element

      `getPropertyKeys`

    - ### Methods inherited from interface com.thinkaurelius.titan.core.Namifiable

      `getName`

    - ### Methods inherited from interface com.thinkaurelius.titan.graphdb.internal.InternalRelationType

      `getBaseType, getKeyIndexes, getRelationIndexes, getSortKey, getSortOrder, getStatus, getTTL`

    - ### Methods inherited from interface com.thinkaurelius.titan.graphdb.internal.InternalVertex

      `addRelation, getAddedRelations, hasAddedRelations, hasLoadedRelations, hasRemovedRelations, it, loadRelations, query, removeRelation`

    - ### Methods inherited from interface com.thinkaurelius.titan.graphdb.internal.InternalElement

      `getLifeCycle, isHidden, tx`

- - ### Field Detail

    - #### SchemaDefinitionEdge

          public static final BaseLabel SchemaDefinitionEdge

    - #### VertexLabelEdge

          public static final BaseLabel VertexLabelEdge

  - ### Method Detail

    - #### getSignature

          public long[] getSignature()

      Specified by:
        `getSignature` in interface `InternalRelationType`
      Overrides:
        `getSignature` in class `EmptyRelationType`

    - #### getMultiplicity

          public Multiplicity getMultiplicity()

      Description copied from interface: `EdgeLabel`
      The `Multiplicity` for this edge label.
      Specified by:
        `getMultiplicity` in interface `EdgeLabel`
      Specified by:
        `getMultiplicity` in interface `InternalRelationType`

    - #### isPropertyKey

          public final boolean isPropertyKey()

      Description copied from interface: `RelationType`
      Checks if this relation type is a property key
      Specified by:
        `isPropertyKey` in interface `RelationType`
      Returns:
        true, if this relation type is a property key, else false.
      See Also:
        `PropertyKey`

    - #### isEdgeLabel

          public final boolean isEdgeLabel()

      Description copied from interface: `RelationType`
      Checks if this relation type is an edge label
      Specified by:
        `isEdgeLabel` in interface `RelationType`
      Returns:
        true, if this relation type is a edge label, else false.
      See Also:
        `EdgeLabel`

    - #### isDirected

          public boolean isDirected()

      Description copied from interface: `EdgeLabel`
      Checks whether this labels is defined as directed.
      Specified by:
        `isDirected` in interface `EdgeLabel`
      Returns:
        true, if this label is directed, else false.

    - #### isUnidirected

          public boolean isUnidirected()

      Description copied from interface: `EdgeLabel`
      Checks whether this labels is defined as unidirected.
      Specified by:
        `isUnidirected` in interface `EdgeLabel`
      Returns:
        true, if this label is unidirected, else false.

    - #### isUnidirected

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

      Specified by:
        `isUnidirected` in interface `InternalRelationType`

Copyright © 2012–2014. All rights reserved.