Class PropertyMetaData


  • public class PropertyMetaData
    extends oracle.pgx.common.Self
    Meta information about a property of a vertex/edge provider in a PgxGraph.
    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 property
      java.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 property
      int hashCode()  
      boolean isTransient()
      Indicates if the property is transient or not
      void setTransient​(boolean isTransient)  
      java.lang.String toString()  
      • Methods inherited from class oracle.pgx.common.Self

        addLinks, getCanonicalLink, getId, getLinks, injectLinks, setId, setLinks
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • 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 class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object