JASMI API

com.agentpp.smi
Interface IGroup

All Superinterfaces:
java.lang.Comparable, IObject, java.io.Serializable

public interface IGroup
extends IObject

IGroup represents a SMIv2 OBJECT-GROUP or NOTIFICATION-GROUP construct.

Version:
1.0
Author:
Frank Fock

Field Summary
 
Fields inherited from interface com.agentpp.smi.IObject
AGENT_CAPABILITIES, MODULE_COMPLIANCE, MODULE_IDENTITY, NOTIFICATION_GROUP, NOTIFICATION_TYPE, OBJECT_GROUP, OBJECT_IDENTITY, OBJECT_NAME, OBJECT_TYPE, TEXTUAL_CONVENTION, TRAP_TYPE
 
Method Summary
 boolean contains(java.lang.String name)
          Check whether the group contains a given object (name).
 java.lang.String[] getObjects()
          Return the object names of the objects that are members of this group.
 boolean isNotificationGroup()
           
 boolean isObjectGroup()
           
 
Methods inherited from interface com.agentpp.smi.IObject
getComment, getDeepClone, getDescription, getModuleID, getName, getObjectID, getPrintableOid, getReference, getStatus, getType, getTypeString, hasComment, hasDescription, hasReference, hasStatus, isStructural
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

isObjectGroup

boolean isObjectGroup()

isNotificationGroup

boolean isNotificationGroup()

getObjects

java.lang.String[] getObjects()
Return the object names of the objects that are members of this group.

Returns:
an array of String instances.

contains

boolean contains(java.lang.String name)
Check whether the group contains a given object (name).

Parameters:
name - an object name.
Returns:
true if name is an element of the group's objects.

JASMI API

JASMI 3
Copyright 2001-2010 Frank Fock
All Rights Reserved