Class RequisitionNode


  • public class RequisitionNode
    extends java.lang.Object

    RequisitionNode class.

    Version:
    $Id: $
    Author:
    ranger
    • Field Detail

      • m_location

        protected java.lang.String m_location
      • m_building

        protected java.lang.String m_building
      • m_city

        protected java.lang.String m_city
      • m_foreignId

        protected java.lang.String m_foreignId
      • m_nodeLabel

        protected java.lang.String m_nodeLabel
      • m_parentForeignSource

        protected java.lang.String m_parentForeignSource
      • m_parentForeignId

        protected java.lang.String m_parentForeignId
      • m_parentNodeLabel

        protected java.lang.String m_parentNodeLabel
    • Constructor Detail

      • RequisitionNode

        public RequisitionNode()
    • Method Detail

      • getInterfaceCount

        public int getInterfaceCount()

        getInterfaceCount

        Returns:
        a int.
      • getInterfaces

        public java.util.List<RequisitionInterface> getInterfaces()

        getInterfaces

        Returns:
        a List object.
      • setInterfaces

        public void setInterfaces​(java.util.Collection<RequisitionInterface> interfaces)

        setInterfaces

        Parameters:
        interfaces - a List object.
      • deleteInterface

        public boolean deleteInterface​(java.lang.String ipAddress)

        deleteInterface

        Parameters:
        ipAddress - a String object.
      • getCategoryCount

        public int getCategoryCount()

        getCategoryCount

        Returns:
        a int.
      • getCategories

        public java.util.List<RequisitionCategory> getCategories()

        getCategories

        Returns:
        a List object.
      • setCategories

        public void setCategories​(java.util.Collection<RequisitionCategory> categories)

        setCategories

        Parameters:
        categories - a List object.
      • deleteCategory

        public boolean deleteCategory​(java.lang.String category)

        deleteCategory

        Parameters:
        category - a String object.
      • getAssetCount

        public int getAssetCount()

        getAssetCount

        Returns:
        a int.
      • getAssets

        public java.util.List<RequisitionAsset> getAssets()

        getAssets

        Returns:
        a List object.
      • setAssets

        public void setAssets​(java.util.Collection<RequisitionAsset> assets)

        setAssets

        Parameters:
        assets - a List object.
      • deleteAsset

        public boolean deleteAsset​(java.lang.String name)

        deleteAsset

        Parameters:
        name - a String object.
      • getLocation

        public java.lang.String getLocation()

        Getter for the field location.

        Returns:
        a String object.
      • setLocation

        public void setLocation​(java.lang.String value)

        Setter for the field location.

        Parameters:
        value - a String object.
      • getBuilding

        public java.lang.String getBuilding()

        Getter for the field building.

        Returns:
        a String object.
      • setBuilding

        public void setBuilding​(java.lang.String value)

        Setter for the field building.

        Parameters:
        value - a String object.
      • getCity

        public java.lang.String getCity()

        Getter for the field city.

        Returns:
        a String object.
      • setCity

        public void setCity​(java.lang.String value)

        Setter for the field city.

        Parameters:
        value - a String object.
      • getForeignId

        public java.lang.String getForeignId()

        Getter for the field foreignId.

        Returns:
        a String object.
      • setForeignId

        public void setForeignId​(java.lang.String value)

        Setter for the field foreignId.

        Parameters:
        value - a String object.
      • getNodeLabel

        public java.lang.String getNodeLabel()

        Getter for the field nodeLabel.

        Returns:
        a String object.
      • setNodeLabel

        public void setNodeLabel​(java.lang.String value)

        Setter for the field nodeLabel.

        Parameters:
        value - a String object.
      • getParentForeignSource

        public java.lang.String getParentForeignSource()

        Getter for the field parentForeignSource.

        Returns:
        a String object.
      • setParentForeignSource

        public void setParentForeignSource​(java.lang.String value)

        Setter for the field parentForeignSource.

        Parameters:
        value - a String object.
      • getParentForeignId

        public java.lang.String getParentForeignId()

        Getter for the field parentForeignId.

        Returns:
        a String object.
      • setParentForeignId

        public void setParentForeignId​(java.lang.String value)

        Setter for the field parentForeignId.

        Parameters:
        value - a String object.
      • getParentNodeLabel

        public java.lang.String getParentNodeLabel()

        Getter for the field parentNodeLabel.

        Returns:
        a String object.
      • setParentNodeLabel

        public void setParentNodeLabel​(java.lang.String value)

        Setter for the field parentNodeLabel.

        Parameters:
        value - a String object.
      • validate

        public void validate()
                      throws javax.xml.bind.ValidationException
        Throws:
        javax.xml.bind.ValidationException
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

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