Class NodePropBundle.PropertyEntry

  • Enclosing class:
    NodePropBundle

    public static class NodePropBundle.PropertyEntry
    extends Object
    Helper class for a property enrty
    • Constructor Detail

      • PropertyEntry

        public PropertyEntry​(PropertyId id)
        Creates a new property entry with the given id.
        Parameters:
        id - the id
      • PropertyEntry

        public PropertyEntry​(PropertyState state)
        Creates a new property entry and initialized it with values from the given property state.
        Parameters:
        state - the source property state.
    • Method Detail

      • getId

        public PropertyId getId()
        Returns the property id.
        Returns:
        the property id.
      • getName

        public Name getName()
        Returns the property name
        Returns:
        the property name
      • getValues

        public InternalValue[] getValues()
        Retruns the internal values
        Returns:
        the internal values
      • setValues

        public void setValues​(InternalValue[] values)
        Sets the internal values.
        Parameters:
        values - the internal values.
      • getType

        public int getType()
        Returns the type.
        Returns:
        the type.
      • setType

        public void setType​(int type)
        Sets the type
        Parameters:
        type - the type
      • isMultiValued

        public boolean isMultiValued()
        Returns the multivalued flag.
        Returns:
        the multivalued flag.
      • setMultiValued

        public void setMultiValued​(boolean multiValued)
        Sets the multivalued flag.
        Parameters:
        multiValued - the multivalued flag
      • getBlobId

        public String getBlobId​(int n)
        Returns the nth blob id.
        Parameters:
        n - the index of the blob id
        Returns:
        the blob id
      • setBlobIds

        public void setBlobIds​(String[] blobIds)
        Sets the blob ids
        Parameters:
        blobIds - the blobids
      • setBlobId

        public void setBlobId​(String blobId,
                              int n)
        Sets the nth blobid
        Parameters:
        blobId - the blob id
        n - the index of the blob id
      • getModCount

        public short getModCount()
        Returns the mod count.
        Returns:
        the mod count.
      • setModCount

        public void setModCount​(short modCount)
        Sets the mod count
        Parameters:
        modCount - the mod count