Class MutableObjectCategory

java.lang.Object
org.netxms.client.objects.ObjectCategory
org.netxms.client.objects.MutableObjectCategory

public class MutableObjectCategory extends ObjectCategory
Mutable variant of object category
  • Constructor Details

    • MutableObjectCategory

      public MutableObjectCategory(String name, UUID icon, UUID mapImage)
      Create new object category.
      Parameters:
      name - category name
      icon - UI icon for objects
      mapImage - default map image for objects
    • MutableObjectCategory

      public MutableObjectCategory(ObjectCategory src)
      Create mutable object from immutable.
      Parameters:
      src - source object
  • Method Details

    • setName

      public void setName(String name)
      Set category name.
      Parameters:
      name - new category name
    • setIcon

      public void setIcon(UUID icon)
      Set UI icon.
      Parameters:
      icon - UUID of new UI icon
    • setMapImage

      public void setMapImage(UUID mapImage)
      Set map image.
      Parameters:
      mapImage - UUID of new map image