Class JpaResource

    • Field Summary

    • Constructor Summary

      Constructors 
      Constructor Description
      JpaResource()  
    • Method Detail

      • getIdentifier

        public String getIdentifier()
        Description copied from interface: Resource
        Get The string identifier for an operation. NOTE: This field is considered the Primary Key for this object.
        Specified by:
        getIdentifier in interface Resource
      • setIdentifier

        public void setIdentifier​(String identifier)
        Description copied from interface: Resource
        Set The string identifier for an operation. NOTE: This field is considered the Primary Key for this object.
        Specified by:
        setIdentifier in interface Resource
      • setPattern

        public void setPattern​(boolean pattern)
        Description copied from interface: Resource
        true if the identifer is a pattern that is to be evaluated, for example x.* could match x.a or x.b and x.** could match x.foo TODO is this even a good idea? TODO we could look for a character like '*' or a string starting with "%/" to indicate if this is a pattern or not.
        Specified by:
        setPattern in interface Resource
      • isPermanent

        public boolean isPermanent()
        Description copied from interface: Resource
        Test to see if the object is a permanent object or not.
        Specified by:
        isPermanent in interface Resource
        Returns:
        true if the object is permanent.
      • setPermanent

        public void setPermanent​(boolean permanent)
        Description copied from interface: Resource
        Set flag indicating if the object is a permanent object or not.
        Specified by:
        setPermanent in interface Resource
        Parameters:
        permanent - true if the object is permanent.