Package com.baremaps.iploc.nic
Class NicObject
java.lang.Object
com.baremaps.iploc.nic.NicObject
Represents a NIC Object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns all the attribute values matching the attribute name.Returns the attributes of the NIC object.Returns the first attribute value matching the attribute name.id()Returns the id of the NIC object.toMap()Return the attributes as a maptoString()type()Returns the type of the NIC object.
-
Constructor Details
-
NicObject
Constructs a NIC Object.- Parameters:
attributes- a list of NIC attributes
-
-
Method Details
-
type
Returns the type of the NIC object.- Returns:
- the type of the NIC object
-
id
Returns the id of the NIC object.- Returns:
- the id of the NIC object
-
attributes
Returns the attributes of the NIC object.- Returns:
- the attributes of the NIC object
-
first
Returns the first attribute value matching the attribute name.- Parameters:
name- the attribute name- Returns:
- the attribute value
-
all
Returns all the attribute values matching the attribute name.- Parameters:
name- the attribute name- Returns:
- the attribute values
-
toMap
Return the attributes as a map- Returns:
-
toString
-