Class CustomAttribute


  • public class CustomAttribute
    extends Object
    Custom attribute class
    • Field Detail

      • value

        protected String value
      • flags

        protected long flags
      • sourceObject

        protected long sourceObject
    • Constructor Detail

      • CustomAttribute

        public CustomAttribute​(org.netxms.base.NXCPMessage msg,
                               long base)
        Constructor form NXCPMessage
        Parameters:
        msg -
        base -
      • CustomAttribute

        public CustomAttribute​(CustomAttribute attr)
        Copy contructor
      • CustomAttribute

        public CustomAttribute​(String value,
                               long flags,
                               long inheritedFrom)
        Constructor
        Parameters:
        value - value
        flags - flags
        inheritedFrom -
    • Method Detail

      • getValue

        public String getValue()
        Returns:
        the value
      • getFlags

        public long getFlags()
        Returns:
        the flags
      • getSourceObject

        public long getSourceObject()
        Returns:
        the inheritedFrom
      • isRedefined

        public boolean isRedefined()
        If attribute is redefined
        Returns:
        true if redefined
      • isInherited

        public boolean isInherited()
        If attribute is inherited
        Returns:
        true if has source
      • isInheritable

        public boolean isInheritable()
        If attribute is inheritable
        Returns:
        true if inheritable flag