|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netxms.client.NXCObject
public class NXCObject
| Field Summary | |
|---|---|
static int |
OBJECT_AGENTPOLICY
|
static int |
OBJECT_AGENTPOLICY_CONFIG
|
static int |
OBJECT_CLUSTER
|
static int |
OBJECT_CONDITION
|
static int |
OBJECT_CONTAINER
|
static int |
OBJECT_GENERIC
|
static int |
OBJECT_INTERFACE
|
static int |
OBJECT_NETWORK
|
static int |
OBJECT_NETWORKSERVICE
|
static int |
OBJECT_NODE
|
static int |
OBJECT_POLICYGROUP
|
static int |
OBJECT_POLICYROOT
|
static int |
OBJECT_SERVICEROOT
|
static int |
OBJECT_SUBNET
|
static int |
OBJECT_TEMPLATE
|
static int |
OBJECT_TEMPLATEGROUP
|
static int |
OBJECT_TEMPLATEROOT
|
static int |
OBJECT_VPNCONNECTOR
|
static int |
OBJECT_ZONE
|
static int |
STATUS_CRITICAL
|
static int |
STATUS_DISABLED
|
static int |
STATUS_MAJOR
|
static int |
STATUS_MINOR
|
static int |
STATUS_NORMAL
|
static int |
STATUS_TESTING
|
static int |
STATUS_UNKNOWN
|
static int |
STATUS_UNMANAGED
|
static int |
STATUS_WARNING
|
| Method Summary | |
|---|---|
NXCAccessListElement[] |
getAccessList()
|
java.util.Iterator<java.lang.Long> |
getChilds()
|
NXCObject[] |
getChildsAsArray()
|
java.lang.String |
getComments()
|
java.util.Map<java.lang.String,java.lang.String> |
getCustomAttributes()
Get object's custom attributes |
GeoLocation |
getGeolocation()
|
int |
getNumberOfChilds()
|
int |
getNumberOfParents()
|
int |
getObjectClass()
|
java.lang.String |
getObjectClassName()
|
long |
getObjectId()
|
java.lang.String |
getObjectName()
|
java.util.Iterator<java.lang.Long> |
getParents()
|
NXCObject[] |
getParentsAsArray()
|
java.net.InetAddress |
getPrimaryIP()
|
int |
getStatus()
|
NXCObject[] |
getTrustedNodes()
|
boolean |
isChildOf(long objectId)
Check if given object is direct or indirect parent |
boolean |
isChildOf(long[] objects)
Check if at least one of given objects is direct or indirect parent |
boolean |
isDeleted()
|
boolean |
isDirectChildOf(long objectId)
Check if given object is direct parent |
boolean |
isInheritAccessRights()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int OBJECT_GENERIC
public static final int OBJECT_SUBNET
public static final int OBJECT_NODE
public static final int OBJECT_INTERFACE
public static final int OBJECT_NETWORK
public static final int OBJECT_CONTAINER
public static final int OBJECT_ZONE
public static final int OBJECT_SERVICEROOT
public static final int OBJECT_TEMPLATE
public static final int OBJECT_TEMPLATEGROUP
public static final int OBJECT_TEMPLATEROOT
public static final int OBJECT_NETWORKSERVICE
public static final int OBJECT_VPNCONNECTOR
public static final int OBJECT_CONDITION
public static final int OBJECT_CLUSTER
public static final int OBJECT_POLICYGROUP
public static final int OBJECT_POLICYROOT
public static final int OBJECT_AGENTPOLICY
public static final int OBJECT_AGENTPOLICY_CONFIG
public static final int STATUS_NORMAL
public static final int STATUS_WARNING
public static final int STATUS_MINOR
public static final int STATUS_MAJOR
public static final int STATUS_CRITICAL
public static final int STATUS_UNKNOWN
public static final int STATUS_UNMANAGED
public static final int STATUS_DISABLED
public static final int STATUS_TESTING
| Method Detail |
|---|
public java.util.Iterator<java.lang.Long> getParents()
public java.util.Iterator<java.lang.Long> getChilds()
public NXCAccessListElement[] getAccessList()
public java.lang.String getComments()
public long getObjectId()
public java.lang.String getObjectName()
public java.net.InetAddress getPrimaryIP()
public int getStatus()
public boolean isDeleted()
public boolean isInheritAccessRights()
public boolean isChildOf(long objectId)
objectId - ID of object to checkpublic boolean isChildOf(long[] objects)
objects - List of object ID to checkpublic boolean isDirectChildOf(long objectId)
objectId - ID of object to checkpublic NXCObject[] getParentsAsArray()
public NXCObject[] getChildsAsArray()
public NXCObject[] getTrustedNodes()
public int getNumberOfParents()
public int getNumberOfChilds()
public int getObjectClass()
public java.lang.String getObjectClassName()
public java.util.Map<java.lang.String,java.lang.String> getCustomAttributes()
public GeoLocation getGeolocation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||