Package oracle.pgx.api
Class PropertyMetaData
- java.lang.Object
-
- oracle.pgx.common.Self
-
- oracle.pgx.api.PropertyMetaData
-
public class PropertyMetaData extends oracle.pgx.common.Self
Meta 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 boolean
equals(java.lang.Object obj)
int
getDimension()
Returns the dimension of the propertyjava.lang.String
getName()
Gets the name of this property.oracle.pgx.common.PgxId
getPropertyId()
Gets the ID of this property.PropertyType
getPropertyType()
Returns the type of the propertyint
hashCode()
boolean
isTransient()
Indicates if the property is transient or notvoid
setTransient(boolean isTransient)
java.lang.String
toString()
-
-
-
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:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-