Class Property

    • Constructor Detail

      • Property

        public Property()
        Default constructor. A default constructor is needed for JADE ontological classes.
      • Property

        public Property​(String name,
                        Object value)
        Create a property object, with the given name and value pair.
        Parameters:
        name - The name of the property.
        value - The Java object associated with the given name.
    • Method Detail

      • setName

        public void setName​(String n)
        Set the name of the property object.
        Parameters:
        n - The new name for this property.
      • getName

        public String getName()
        Retrieve the name of this property object.
        Returns:
        The string that is the name of this property, or null if no name was set.
      • setValue

        public void setValue​(Object o)
        Set the value for this property object, attached to the property name.
        Parameters:
        o - The new Java object to attach to the property name.
      • getValue

        public Object getValue()
        Retrieve the value of this property object, associated with the property name.
        Returns:
        The value of this property, or null if no value was set.
      • convertPropertyListToProperties

        public static Properties convertPropertyListToProperties​(List<Property> pp)
      • match

        public boolean match​(Property p)