public abstract class BaseRelationType extends EmptyRelationType implements SystemRelationType
Modifier and Type | Method and Description |
---|---|
ConsistencyModifier |
getConsistencyModifier() |
boolean |
hasId()
Checks whether this entity has a unique identifier.
|
boolean |
isInvisibleType() |
long |
longId()
Unique identifier for this entity.
|
String |
name()
Returns the unique name of this entity.
|
void |
setId(long id) |
getBaseType, getKeyIndexes, getRelationIndexes, getSignature, getSortKey, getSortOrder, getStatus, getTTL, isInvisible, toString
addEdge, addRelation, edges, getAddedRelations, getLifeCycle, hasAddedRelations, hasLoadedRelations, hasRemovedRelations, id, isLoaded, isModified, isNew, isRemoved, it, label, loadRelations, properties, property, property, query, remove, removeRelation, tx, value, valueOrNull, vertexLabel, vertices
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBaseType, getKeyIndexes, getRelationIndexes, getSignature, getSortKey, getSortOrder, getStatus, getTTL, isUnidirected, multiplicity
isEdgeLabel, isPropertyKey
isNew
addRelation, getAddedRelations, hasAddedRelations, hasLoadedRelations, hasRemovedRelations, it, loadRelations, query, removeRelation
addEdge, isModified, label, property, property, property, vertexLabel
edges, properties, property, vertices
getLifeCycle, graph, isInvisible, tx
id, isLoaded, isNew, isRemoved, remove, valueOrNull
public String name()
Namifiable
name
in interface Namifiable
public long longId()
JanusGraphElement
JanusGraphElement.id()
for the permanent id.longId
in interface Idfiable
longId
in interface JanusGraphElement
longId
in class EmptyVertex
public boolean hasId()
JanusGraphElement
Note that some entities may never be assigned an identifier and others will only be assigned an identifier at the end of a transaction.
hasId
in interface JanusGraphElement
hasId
in class EmptyVertex
JanusGraphElement.longId()
public void setId(long id)
setId
in interface InternalElement
setId
in class EmptyVertex
public ConsistencyModifier getConsistencyModifier()
getConsistencyModifier
in interface InternalRelationType
public boolean isInvisibleType()
isInvisibleType
in interface InternalRelationType
Copyright © 2012–2023. All rights reserved.