GDMO
Definition :
managedElement MANAGED
OBJECT CLASS
DERIVED FROM "Rec. X.721
| ISO/IEC 10165-2 : 1992":top;
CHARACTERIZED BY
managedElementPackage PACKAGE
BEHAVIOUR
managedElementBehaviour
BEHAVIOUR
DEFINED AS
"The Managed Element object
class is a class of managed
objects representing telecommunications
equipment or TMN
entities (either groups
or parts) within the
telecommunications network
that performs managed element
functions, i.e. provides
support and/or service to the
subscriber. Managed elements
may or may not additionally
perform mediation/OS functions.
A managed element
communicates with the manager
(directly or indirectly) over
one or more standard Q-interfaces
for the purpose of being
monitored and/or controlled.
A managed element contains
equipment that may or may
not be geographically
distributed. When the attribute
value change notification
package is present, the
attributeValueChange notification
defined in Recommendation
X.721 shall be emitted when the
value of one of the following
attribute changes: alarm
status, user label, version,
location name and current
problem list. For the above
attributes that are in
conditional packages, the
behaviour for emitting the
attribute value change
notification applies only when the
corresponding conditional
packages are present in the
managed object. When the
state change notification package
is present, the stateChangeNotification
defined in
Recommendation X.721 shall
be emitted if the value of
administrative state or
operational state or usage state
changes.";;
ATTRIBUTES
managedElementId GET,
"Rec. X.721 | ISO/IEC 10165-2
: 1992":systemTitle GET-REPLACE,
m3100alarmStatus GET,
"Rec. X.721 | ISO/IEC 10165-2
: 1992":administrativeState GET-REPLACE,
"Rec. X.721 | ISO/IEC 10165-2
: 1992":operationalState GET,
"Rec. X.721 | ISO/IEC 10165-2
: 1992":usageState GET;
NOTIFICATIONS
"Rec. X.721 | ISO/IEC 10165-2
: 1992":environmentalAlarm,
"Rec. X.721 | ISO/IEC 10165-2
: 1992":equipmentAlarm,
"Rec. X.721 | ISO/IEC 10165-2
: 1992":communicationsAlarm,
"Rec. X.721 | ISO/IEC 10165-2
: 1992":processingErrorAlarm;;;
CONDITIONAL PACKAGES
createDeleteNotificationsPackage
PRESENT IF "the objectCreation and
objectDeletion notifications
defined in Recommendation X.721 are
supported by an instance
of this class.",
attributeValueChangeNotificationPackage
PRESENT IF "the
attributeValueChange notification
defined in Recommendation X.721 is
supported by an instance
of this class.",
stateChangeNotificationPackage
PRESENT IF "the stateChange
notification defined in
Recommendation X.721 is supported by an
instance of this class.",
audibleVisualLocalAlarmPackage
PRESENT IF "an instance supports it",
resetAudibleAlarmPackage
PRESENT IF "an instance supports it",
userLabelPackage PRESENT
IF "an instance supports it",
vendorNamePackage PRESENT
IF "an instance supports it",
versionPackage PRESENT
IF "an instance supports it",
locationNamePackage PRESENT
IF "an instance supports it",
currentProblemListPackage
PRESENT IF "an instance supports it",
externalTimePackage PRESENT
IF "an instance supports it",
systemTimingSourcePackage
PRESENT IF "an instance supports it";
REGISTERED AS {m3100ObjectClass
3};
The
Generated Java Class :
package agentTesting;
import java.io.*;
public class managedElement
extends top { // ManagedObjectClass
/* <section for each
attribute> */
public NameType managedElementId;
/* <end section for
each attribute> */
/* <section for each
attribute> */
public SystemTitle systemTitle;
/* <end section for
each attribute> */
/* <section for each
attribute> */
public AlarmStatusX m3100alarmStatus;
/* <end section for
each attribute> */
/* <section for each
attribute> */
public AdministrativeState
administrativeState;
/* <end section for
each attribute> */
/* <section for each
attribute> */
public OperationalState
operationalState;
/* <end section for
each attribute> */
/* <section for each
attribute> */
public UsageState usageState;
/* <end section for
each attribute> */
/* <section for each
attribute> */
public UserLabel userLabel;
/* <end section for
each attribute> */
/* <section for each
attribute> */
public VendorName vendorName;
/* <end section for
each attribute> */
/* <section for each
attribute> */
public Version version;
/* <end section for
each attribute> */
/* <section for each
attribute> */
public LocationName locationName;
/* <end section for
each attribute> */
/* <section for each
attribute> */
public CurrentProblemList
currentProblemList;
/* <end section for
each attribute> */
/* <section for each
attribute> */
public ExternalTime externalTime;
/* <end section for
each attribute> */
/* <section for each
attribute> */
public SystemTimingSource
systemTimingSource;
/* <end section for
each attribute> */
public managedElement()
{
super();
objectClass = GlobalOidCollection.managedElementOidP;
/* <section for each
attribute> */
managedElementId = new
NameType();
/* <end section for
each attribute> */
/* <section for each
attribute> */
systemTitle = new SystemTitle();
/* <end section for
each attribute> */
/* <section for each
attribute> */
m3100alarmStatus = new
AlarmStatusX();
/* <end section for
each attribute> */
/* <section for each
attribute> */
administrativeState = new
AdministrativeState();
/* <end section for
each attribute> */
/* <section for each
attribute> */
operationalState = new
OperationalState();
/* <end section for
each attribute> */
/* <section for each
attribute> */
usageState = new UsageState();
/* <end section for
each attribute> */
/* <section for each
attribute> */
userLabel = new UserLabel();
/* <end section for
each attribute> */
/* <section for each
attribute> */
vendorName = new VendorName();
/* <end section for
each attribute> */
/* <section for each
attribute> */
version = new Version();
/* <end section for
each attribute> */
/* <section for each
attribute> */
locationName = new LocationName();
/* <end section for
each attribute> */
/* <section for each
attribute> */
currentProblemList = new
CurrentProblemList();
/* <end section for
each attribute> */
/* <section for each
attribute> */
externalTime = new ExternalTime();
/* <end section for
each attribute> */
/* <section for each
attribute> */
systemTimingSource = new
SystemTimingSource();
/* <end section for
each attribute> */
}
public managedElement(managedElement
x)
{
super(x);
/* <section for each
attribute> */
managedElementId = x.managedElementId;
/* <end section for
each attribute> */
/* <section for each
attribute> */
systemTitle = x.systemTitle;
/* <end section for
each attribute> */
/* <section for each
attribute> */
m3100alarmStatus = x.m3100alarmStatus;
/* <end section for
each attribute> */
/* <section for each
attribute> */
administrativeState = x.administrativeState;
/* <end section for
each attribute> */
/* <section for each
attribute> */
operationalState = x.operationalState;
/* <end section for
each attribute> */
/* <section for each
attribute> */
usageState = x.usageState;
/* <end section for
each attribute> */
/* <section for each
attribute> */
userLabel = x.userLabel;
/* <end section for
each attribute> */
/* <section for each
attribute> */
vendorName = x.vendorName;
/* <end section for
each attribute> */
/* <section for each
attribute> */
version = x.version;
/* <end section for
each attribute> */
/* <section for each
attribute> */
locationName = x.locationName;
/* <end section for
each attribute> */
/* <section for each
attribute> */
currentProblemList = x.currentProblemList;
/* <end section for
each attribute> */
/* <section for each
attribute> */
externalTime = x.externalTime;
/* <end section for
each attribute> */
/* <section for each
attribute> */
/* <section for each
attribute> */
systemTimingSource = x.systemTimingSource;
/* <end section for
each attribute> */
}
/* <section for each
attribute> */
public void set_managedElementId(NameType
x)
{
managedElementId = x;
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
public void set_systemTitle(SystemTitle
x)
{
systemTitle = x;
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
public void set_m3100alarmStatus(AlarmStatusX
x)
{
m3100alarmStatus = x;
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
public void set_administrativeState(AdministrativeState
x)
{
administrativeState = x;
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
public void set_operationalState(OperationalState
x)
{
operationalState = x;
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
public void set_usageState(UsageState
x)
{
usageState = x;
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
public void set_userLabel(UserLabel
x)
{
userLabel = x;
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
public void set_vendorName(VendorName
x)
{
vendorName = x;
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
public void set_version(Version
x)
{
version = x;
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
public void set_locationName(LocationName
x)
{
locationName = x;
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
public void set_currentProblemList(CurrentProblemList
x)
{
currentProblemList = x;
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
public void set_externalTime(ExternalTime
x)
{
externalTime = x;
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
public void set_systemTimingSource(SystemTimingSource
x)
{
systemTimingSource = x;
}
/* <end section for
each attribute> */
public int getNAttributes()
{
int nAttrs = super.getNAttributes();
/* <section for each
attribute> */
if(managedElementId !=
null) nAttrs++;
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(systemTitle != null)
nAttrs++;
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(m3100alarmStatus !=
null) nAttrs++;
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(administrativeState
!= null) nAttrs++;
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(operationalState !=
null) nAttrs++;
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(usageState != null)
nAttrs++;
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(userLabel != null) nAttrs++;
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(vendorName != null)
nAttrs++;
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(version != null) nAttrs++;
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(locationName != null)
nAttrs++;
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(currentProblemList !=
null) nAttrs++;
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(externalTime != null)
nAttrs++;
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(systemTimingSource !=
null) nAttrs++;
/* <end section for
each attribute> */
return nAttrs;
}
protected int buildAttributeList(JAsn1SetOf
attributeList)
{
int attributeCount = super.buildAttributeList(attributeList);
/* <section for each
attribute> */
if(managedElementId !=
null) {
((CMIP_Attribute) attributeList.getVal(attributeCount)).attributeId.set_
globalForm(GlobalOidCollection.managedElementIdOidP);
((CMIP_Attribute) attributeList.getVal(attributeCount++)).attributeValue
.attach(managedElementId);
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(systemTitle != null)
{
((CMIP_Attribute) attributeList.getVal(attributeCount)).attributeId.set_
globalForm(GlobalOidCollection.systemTitleOidP);
((CMIP_Attribute) attributeList.getVal(attributeCount++)).attributeValue
.attach(systemTitle);
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(m3100alarmStatus !=
null) {
((CMIP_Attribute) attributeList.getVal(attributeCount)).attributeId.set_
globalForm(GlobalOidCollection.m3100alarmStatusOidP);
((CMIP_Attribute) attributeList.getVal(attributeCount++)).attributeValue
.attach(m3100alarmStatus);
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(administrativeState
!= null) {
((CMIP_Attribute) attributeList.getVal(attributeCount)).attributeId.set_
globalForm(GlobalOidCollection.administrativeStateOidP);
((CMIP_Attribute) attributeList.getVal(attributeCount++)).attributeValue
.attach(administrativeState);
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(operationalState !=
null) {
((CMIP_Attribute) attributeList.getVal(attributeCount)).attributeId.set_
globalForm(GlobalOidCollection.operationalStateOidP);
((CMIP_Attribute) attributeList.getVal(attributeCount++)).attributeValue
.attach(operationalState);
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(usageState != null)
{
((CMIP_Attribute) attributeList.getVal(attributeCount)).attributeId.set_
globalForm(GlobalOidCollection.usageStateOidP);
((CMIP_Attribute) attributeList.getVal(attributeCount++)).attributeValue
.attach(usageState);
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(userLabel != null) {
((CMIP_Attribute) attributeList.getVal(attributeCount)).attributeId.set_
globalForm(GlobalOidCollection.userLabelOidP);
((CMIP_Attribute) attributeList.getVal(attributeCount++)).attributeValue
.attach(userLabel);
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(vendorName != null)
{
((CMIP_Attribute) attributeList.getVal(attributeCount)).attributeId.set_
globalForm(GlobalOidCollection.vendorNameOidP);
((CMIP_Attribute) attributeList.getVal(attributeCount++)).attributeValue
.attach(vendorName);
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(version != null) {
((CMIP_Attribute) attributeList.getVal(attributeCount)).attributeId.set_
globalForm(GlobalOidCollection.versionOidP);
((CMIP_Attribute) attributeList.getVal(attributeCount++)).attributeValue
.attach(version);
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(locationName != null)
{
((CMIP_Attribute) attributeList.getVal(attributeCount)).attributeId.set_
globalForm(GlobalOidCollection.locationNameOidP);
((CMIP_Attribute) attributeList.getVal(attributeCount++)).attributeValue
.attach(locationName);
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(currentProblemList !=
null) {
((CMIP_Attribute) attributeList.getVal(attributeCount)).attributeId.set_
globalForm(GlobalOidCollection.currentProblemListOidP);
((CMIP_Attribute) attributeList.getVal(attributeCount++)).attributeValue
.attach(currentProblemList);
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(externalTime != null)
{
((CMIP_Attribute) attributeList.getVal(attributeCount)).attributeId.set_
globalForm(GlobalOidCollection.externalTimeOidP);
((CMIP_Attribute) attributeList.getVal(attributeCount++)).attributeValue
.attach(externalTime);
}
/* <end section for
each attribute> */
/* <section for each
attribute> */
if(systemTimingSource !=
null) {
((CMIP_Attribute) attributeList.getVal(attributeCount)).attributeId.set_
globalForm(GlobalOidCollection.systemTimingSourceOidP);
((CMIP_Attribute) attributeList.getVal(attributeCount++)).attributeValue
.attach(systemTimingSource);
}
/* <end section for
each attribute> */
return attributeCount;
}
/* <end section for each attribute> */
} // end class managedElement