psdi.security.vmm

Class VMMSyncData

  • java.lang.Object
    • psdi.security.vmm.VMMSyncData


  • public class VMMSyncData
    extends java.lang.Object
    A class to prepresent synchronization data that's obtained from the VMM server. The data can be retrieved based on attribute names. The data value can be null for a given attribute if either the attribute does not exist or the value itself is null.
    • Constructor Summary

      Constructors 
      Constructor and Description
      VMMSyncData() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean exists(java.lang.String attributeName)
      Returns true if the attribute exists in the attributeValues HashMap.
      java.lang.String get(java.lang.String attributeName)
      Returns attribute value for the given attribute name.
      java.util.Iterator getAttributes()
      Returns an Iterator object to iterate over the list of attribute names.
      void put(java.lang.String attributeName, java.lang.String value)
      Added the given attribute and its corresponding value to the cache.
      int size()
      Returns the number of attributes in the cache.
      java.lang.String toString()
      For debugging.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • VMMSyncData

        public VMMSyncData()
    • Method Detail

      • exists

        public boolean exists(java.lang.String attributeName)
        Returns true if the attribute exists in the attributeValues HashMap.
        Parameters:
        attributeName -
        Returns:
        True if attribute exists in HashMap.
      • get

        public java.lang.String get(java.lang.String attributeName)
        Returns attribute value for the given attribute name.
        Parameters:
        attributeName - attribute name
        Returns:
        value for the given attribute name.
      • put

        public void put(java.lang.String attributeName,
                        java.lang.String value)
        Added the given attribute and its corresponding value to the cache.
        Parameters:
        attributeName - attribute name
        value - value
      • getAttributes

        public java.util.Iterator getAttributes()
        Returns an Iterator object to iterate over the list of attribute names.
        Returns:
        an Iterator object to iterate over the list of attribute names.
      • size

        public int size()
        Returns the number of attributes in the cache.
        Returns:
        the number of attributes in the cache.
      • toString

        public java.lang.String toString()
        For debugging.
        Overrides:
        toString in class java.lang.Object