Package oracle.pgx.api
Class PropertyMetaData
- java.lang.Object
-
- oracle.pgx.common.Self
-
- oracle.pgx.api.PropertyMetaData
-
public class PropertyMetaData extends oracle.pgx.common.SelfMeta information about a property of a vertex/edge provider in aPgxGraph.- Since:
- 21.1
-
-
Constructor Summary
Constructors Constructor Description PropertyMetaData(java.lang.String name, oracle.pgx.common.PgxId id, PropertyType propertyType, int dimension, boolean transientProperty)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)intgetDimension()Returns the dimension of the propertyjava.lang.StringgetName()Gets the name of this property.oracle.pgx.common.PgxIdgetPropertyId()Gets the ID of this property.PropertyTypegetPropertyType()Returns the type of the propertyinthashCode()booleanisTransient()Indicates if the property is transient or notvoidsetTransient(boolean isTransient)java.lang.StringtoString()
-
-
-
Constructor Detail
-
PropertyMetaData
public PropertyMetaData(java.lang.String name, oracle.pgx.common.PgxId id, PropertyType propertyType, int dimension, boolean transientProperty)
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the name of this property.- Returns:
- the property name
-
getPropertyId
public oracle.pgx.common.PgxId getPropertyId()
Gets the ID of this property.- Returns:
- the property id
-
getPropertyType
public PropertyType getPropertyType()
Returns the type of the property- Returns:
- the type of the property
-
getDimension
public int getDimension()
Returns the dimension of the property- Returns:
- the dimension of the property
-
isTransient
public boolean isTransient()
Indicates if the property is transient or not- Returns:
- true if the property is transient, false if persistent
-
setTransient
public void setTransient(boolean isTransient)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-