C# Класс VelocityGraph.PropertyType

Наследование: OptimizedPersistable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetPropertyEdge ( IComparable value ) : System.Edge

Try to find an Edge with a given property value.

GetPropertyEdges ( IComparable value ) : IEnumerable

Try to find all Edge with a given property value.

GetPropertyValue ( Int32 elementId ) : IComparable

Get property value of a Vertex/Edge

GetPropertyVertex ( IComparable value, bool polymorphic = false, bool errorIfNotFound = true ) : Vertex

Try to find a Vertex with a given property value.

GetPropertyVertices ( IComparable value, bool polymorphic = false ) : IEnumerable

Try to find all Vertex with a given property value.

HasPropertyValue ( Int32 elementId ) : bool

Check if an element has a property value

RemovePropertyValue ( Int32 elementId ) : IComparable

Remove a property value

SetPropertyValue ( Int32 elementId, Int32 typeId, IComparable value ) : void

Sets a property value for an element

Приватные методы

Метод Описание
PropertyType ( bool isVertexProp, Int32 typeId, Int32 propertyId, string name, Graph graph ) : System

Описание методов

GetPropertyEdge() абстрактный публичный Метод

Try to find an Edge with a given property value.
abstract public GetPropertyEdge ( IComparable value ) : System.Edge
value IComparable the property value to look for
Результат System.Edge

GetPropertyEdges() абстрактный публичный Метод

Try to find all Edge with a given property value.
abstract public GetPropertyEdges ( IComparable value ) : IEnumerable
value IComparable the property value to look for
Результат IEnumerable

GetPropertyValue() абстрактный публичный Метод

Get property value of a Vertex/Edge
abstract public GetPropertyValue ( Int32 elementId ) : IComparable
elementId System.Int32 Id of a Vertex/Edge
Результат IComparable

GetPropertyVertex() абстрактный публичный Метод

Try to find a Vertex with a given property value.
abstract public GetPropertyVertex ( IComparable value, bool polymorphic = false, bool errorIfNotFound = true ) : Vertex
value IComparable The property value to look for
polymorphic bool If true, also look for property value matching vertices of property sub classes
errorIfNotFound bool If true, signal an error if no matching found
Результат Vertex

GetPropertyVertices() абстрактный публичный Метод

Try to find all Vertex with a given property value.
abstract public GetPropertyVertices ( IComparable value, bool polymorphic = false ) : IEnumerable
value IComparable The property value to look for
polymorphic bool If true, also look for property value matching vertices of property sub classes
Результат IEnumerable

HasPropertyValue() абстрактный публичный Метод

Check if an element has a property value
abstract public HasPropertyValue ( Int32 elementId ) : bool
elementId System.Int32 Id of a Vertex/Edge
Результат bool

RemovePropertyValue() абстрактный публичный Метод

Remove a property value
abstract public RemovePropertyValue ( Int32 elementId ) : IComparable
elementId System.Int32 Id of an edge/vertex
Результат IComparable

SetPropertyValue() абстрактный публичный Метод

Sets a property value for an element
abstract public SetPropertyValue ( Int32 elementId, Int32 typeId, IComparable value ) : void
elementId System.Int32 Id of a vertex or edge
typeId System.Int32 Id of vertex/edge
value IComparable Value to assign to property
Результат void