com.sun.grid.jgdi.configuration
public class EventClientImpl extends GEObjectImpl implements EventClient
Warning: The EventClientImpl class will not be compatible with future Sun™ Grid Engine releases.
Constructor and Description |
---|
EventClientImpl()
Create a new instance of EventClientImpl.
|
EventClientImpl(boolean initWithDefaultValues)
Create a new instanceof
|
EventClientImpl(int id)
Create a new instance of EventClientImpl
|
Modifier and Type | Method and Description |
---|---|
void |
addEvents(Event aevents)
Add a com.sun.grid.jgdi.configuration.Event attribute.
|
void |
addSubscribed(EventSubcribtion asubscribed)
Add a com.sun.grid.jgdi.configuration.EventSubcribtion attribute.
|
java.lang.String |
dump() |
boolean |
equals(java.lang.Object obj)
Is the primary key information equal to the primary key information
of
obj . |
boolean |
equalsCompletely(java.lang.Object obj) |
int |
getBusy()
Get the value of the busy attribute.
|
int |
getBusyHandling()
Get the value of the busyHandling attribute.
|
int |
getCommid()
Get the value of the commid attribute.
|
java.lang.String |
getCommproc()
Get the value of the commproc attribute.
|
int |
getDTime()
Get the value of the dTime attribute.
|
Event |
getEvents(int index)
Get a com.sun.grid.jgdi.configuration.Event attribute at an index.
|
int |
getEventsCount()
Get the number of com.sun.grid.jgdi.configuration.Event attributes.
|
java.util.List<Event> |
getEventsList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.Event attributes.
|
int |
getFlushDelay()
Get the value of the flushDelay attribute.
|
java.lang.String |
getHost()
Get the value of the host attribute.
|
int |
getId()
Get the value of the id attribute.
|
int |
getLastHeardFrom()
Get the value of the lastHeardFrom attribute.
|
int |
getLastSendTime()
Get the value of the lastSendTime attribute.
|
java.lang.String |
getName()
Get the value of the name attribute.
|
int |
getNextNumber()
Get the value of the nextNumber attribute.
|
int |
getNextSendTime()
Get the value of the nextSendTime attribute.
|
java.lang.String |
getSession()
Get the value of the session attribute.
|
int |
getState()
Get the value of the state attribute.
|
EventSubcribtion |
getSubscribed(int index)
Get a com.sun.grid.jgdi.configuration.EventSubcribtion attribute at an index.
|
int |
getSubscribedCount()
Get the number of com.sun.grid.jgdi.configuration.EventSubcribtion attributes.
|
java.util.List<EventSubcribtion> |
getSubscribedList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.EventSubcribtion attributes.
|
int |
getUid()
Get the value of the uid attribute.
|
boolean |
isChanged()
Get the value of the changed attribute.
|
boolean |
isSetBusy()
Determine if the busy attribute is set
|
boolean |
isSetBusyHandling()
Determine if the busyHandling attribute is set
|
boolean |
isSetChanged()
Determine if the changed attribute is set
|
boolean |
isSetCommid()
Determine if the commid attribute is set
|
boolean |
isSetCommproc()
Determine if the commproc attribute is set
|
boolean |
isSetDTime()
Determine if the dTime attribute is set
|
boolean |
isSetEvents()
Determine if the events attribute is set
|
boolean |
isSetFlushDelay()
Determine if the flushDelay attribute is set
|
boolean |
isSetHost()
Determine if the host attribute is set
|
boolean |
isSetId()
Determine if the id attribute is set
|
boolean |
isSetLastHeardFrom()
Determine if the lastHeardFrom attribute is set
|
boolean |
isSetLastSendTime()
Determine if the lastSendTime attribute is set
|
boolean |
isSetName()
Determine if the name attribute is set
|
boolean |
isSetNextNumber()
Determine if the nextNumber attribute is set
|
boolean |
isSetNextSendTime()
Determine if the nextSendTime attribute is set
|
boolean |
isSetSession()
Determine if the session attribute is set
|
boolean |
isSetState()
Determine if the state attribute is set
|
boolean |
isSetSubscribed()
Determine if the subscribed attribute is set
|
boolean |
isSetUid()
Determine if the uid attribute is set
|
void |
removeAllEvents()
Remove all com.sun.grid.jgdi.configuration.Event attributes.
|
void |
removeAllSubscribed()
Remove all com.sun.grid.jgdi.configuration.EventSubcribtion attributes.
|
boolean |
removeEvents(Event aevents)
Remote a specific com.sun.grid.jgdi.configuration.Event attribute.
|
Event |
removeEvents(int index)
Remote a com.sun.grid.jgdi.configuration.Event attribute at an index.
|
boolean |
removeSubscribed(EventSubcribtion asubscribed)
Remote a specific com.sun.grid.jgdi.configuration.EventSubcribtion attribute.
|
EventSubcribtion |
removeSubscribed(int index)
Remote a com.sun.grid.jgdi.configuration.EventSubcribtion attribute at an index.
|
void |
setBusy(int aBusy)
Set the busy attribute.
|
void |
setBusyHandling(int aBusyHandling)
Set the busyHandling attribute.
|
void |
setChanged(boolean aChanged)
Set the changed attribute.
|
void |
setCommid(int aCommid)
Set the commid attribute.
|
void |
setCommproc(java.lang.String aCommproc)
Set the commproc attribute.
|
void |
setDTime(int aDTime)
Set the dTime attribute.
|
void |
setEvents(int index,
Event aevents)
Set a com.sun.grid.jgdi.configuration.Event attribute.
|
void |
setFlushDelay(int aFlushDelay)
Set the flushDelay attribute.
|
void |
setHost(java.lang.String aHost)
Set the host attribute.
|
void |
setId(int aId)
Set the id attribute.
|
void |
setLastHeardFrom(int aLastHeardFrom)
Set the lastHeardFrom attribute.
|
void |
setLastSendTime(int aLastSendTime)
Set the lastSendTime attribute.
|
void |
setName(java.lang.String aName)
Set the name attribute.
|
void |
setNextNumber(int aNextNumber)
Set the nextNumber attribute.
|
void |
setNextSendTime(int aNextSendTime)
Set the nextSendTime attribute.
|
void |
setSession(java.lang.String aSession)
Set the session attribute.
|
void |
setState(int aState)
Set the state attribute.
|
void |
setSubscribed(int index,
EventSubcribtion asubscribed)
Set a com.sun.grid.jgdi.configuration.EventSubcribtion attribute.
|
void |
setUid(int aUid)
Set the uid attribute.
|
java.lang.String |
toString() |
getParent, getPathName, getRoot, setParent
public EventClientImpl()
public EventClientImpl(boolean initWithDefaultValues)
initWithDefaultValues
- if true
the new instance will
be initialized with the default values as defined
in the cull definition.public EventClientImpl(int id)
public boolean isSetId()
isSetId
in interface EventClient
true
if the id attribute is setpublic void setId(int aId)
setId
in interface EventClient
aId
- the new value for the id attributepublic int getId()
getId
in interface EventClient
public boolean isSetName()
isSetName
in interface EventClient
true
if the name attribute is setpublic void setName(java.lang.String aName)
setName
in interface EventClient
setName
in class GEObjectImpl
aName
- the new value for the name attributepublic java.lang.String getName()
getName
in interface EventClient
getName
in interface GEObject
getName
in class GEObjectImpl
public boolean isSetHost()
isSetHost
in interface EventClient
true
if the host attribute is setpublic void setHost(java.lang.String aHost)
setHost
in interface EventClient
aHost
- the new value for the host attributepublic java.lang.String getHost()
getHost
in interface EventClient
public boolean isSetCommproc()
isSetCommproc
in interface EventClient
true
if the commproc attribute is setpublic void setCommproc(java.lang.String aCommproc)
setCommproc
in interface EventClient
aCommproc
- the new value for the commproc attributepublic java.lang.String getCommproc()
getCommproc
in interface EventClient
public boolean isSetCommid()
isSetCommid
in interface EventClient
true
if the commid attribute is setpublic void setCommid(int aCommid)
setCommid
in interface EventClient
aCommid
- the new value for the commid attributepublic int getCommid()
getCommid
in interface EventClient
public boolean isSetUid()
isSetUid
in interface EventClient
true
if the uid attribute is setpublic void setUid(int aUid)
setUid
in interface EventClient
aUid
- the new value for the uid attributepublic int getUid()
getUid
in interface EventClient
public boolean isSetDTime()
isSetDTime
in interface EventClient
true
if the dTime attribute is setpublic void setDTime(int aDTime)
setDTime
in interface EventClient
aDTime
- the new value for the dTime attributepublic int getDTime()
getDTime
in interface EventClient
public boolean isSetFlushDelay()
isSetFlushDelay
in interface EventClient
true
if the flushDelay attribute is setpublic void setFlushDelay(int aFlushDelay)
setFlushDelay
in interface EventClient
aFlushDelay
- the new value for the flushDelay attributepublic int getFlushDelay()
getFlushDelay
in interface EventClient
public void addSubscribed(EventSubcribtion asubscribed)
addSubscribed
in interface EventClient
asubscribed
- the new com.sun.grid.jgdi.configuration.EventSubcribtion attributepublic void setSubscribed(int index, EventSubcribtion asubscribed)
setSubscribed
in interface EventClient
index
- index of the com.sun.grid.jgdi.configuration.EventSubcribtion attributeasubscribed
- the new com.sun.grid.jgdi.configuration.EventSubcribtion attributepublic void removeAllSubscribed()
removeAllSubscribed
in interface EventClient
public EventSubcribtion removeSubscribed(int index)
removeSubscribed
in interface EventClient
index
- the index of the com.sun.grid.jgdi.configuration.EventSubcribtion attribute which should be
removednull
if
no attribute at this index is storedpublic boolean removeSubscribed(EventSubcribtion asubscribed)
removeSubscribed
in interface EventClient
asubscribed
- the com.sun.grid.jgdi.configuration.EventSubcribtion attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.EventSubcribtion attribute has been removedpublic java.util.List<EventSubcribtion> getSubscribedList()
getSubscribedList
in interface EventClient
public int getSubscribedCount()
getSubscribedCount
in interface EventClient
public EventSubcribtion getSubscribed(int index)
getSubscribed
in interface EventClient
index
- the index of the com.sun.grid.jgdi.configuration.EventSubcribtion attribute which should be
removedpublic boolean isSetSubscribed()
isSetSubscribed
in interface EventClient
true
if the subscribed attribute is setpublic boolean isSetChanged()
isSetChanged
in interface EventClient
true
if the changed attribute is setpublic void setChanged(boolean aChanged)
setChanged
in interface EventClient
aChanged
- the new value for the changed attributepublic boolean isChanged()
isChanged
in interface EventClient
public boolean isSetBusyHandling()
isSetBusyHandling
in interface EventClient
true
if the busyHandling attribute is setpublic void setBusyHandling(int aBusyHandling)
setBusyHandling
in interface EventClient
aBusyHandling
- the new value for the busyHandling attributepublic int getBusyHandling()
getBusyHandling
in interface EventClient
public boolean isSetSession()
isSetSession
in interface EventClient
true
if the session attribute is setpublic void setSession(java.lang.String aSession)
setSession
in interface EventClient
aSession
- the new value for the session attributepublic java.lang.String getSession()
getSession
in interface EventClient
public boolean isSetLastHeardFrom()
isSetLastHeardFrom
in interface EventClient
true
if the lastHeardFrom attribute is setpublic void setLastHeardFrom(int aLastHeardFrom)
setLastHeardFrom
in interface EventClient
aLastHeardFrom
- the new value for the lastHeardFrom attributepublic int getLastHeardFrom()
getLastHeardFrom
in interface EventClient
public boolean isSetLastSendTime()
isSetLastSendTime
in interface EventClient
true
if the lastSendTime attribute is setpublic void setLastSendTime(int aLastSendTime)
setLastSendTime
in interface EventClient
aLastSendTime
- the new value for the lastSendTime attributepublic int getLastSendTime()
getLastSendTime
in interface EventClient
public boolean isSetNextSendTime()
isSetNextSendTime
in interface EventClient
true
if the nextSendTime attribute is setpublic void setNextSendTime(int aNextSendTime)
setNextSendTime
in interface EventClient
aNextSendTime
- the new value for the nextSendTime attributepublic int getNextSendTime()
getNextSendTime
in interface EventClient
public boolean isSetNextNumber()
isSetNextNumber
in interface EventClient
true
if the nextNumber attribute is setpublic void setNextNumber(int aNextNumber)
setNextNumber
in interface EventClient
aNextNumber
- the new value for the nextNumber attributepublic int getNextNumber()
getNextNumber
in interface EventClient
public boolean isSetBusy()
isSetBusy
in interface EventClient
true
if the busy attribute is setpublic void setBusy(int aBusy)
setBusy
in interface EventClient
aBusy
- the new value for the busy attributepublic int getBusy()
getBusy
in interface EventClient
public void addEvents(Event aevents)
addEvents
in interface EventClient
aevents
- the new com.sun.grid.jgdi.configuration.Event attributepublic void setEvents(int index, Event aevents)
setEvents
in interface EventClient
index
- index of the com.sun.grid.jgdi.configuration.Event attributeaevents
- the new com.sun.grid.jgdi.configuration.Event attributepublic void removeAllEvents()
removeAllEvents
in interface EventClient
public Event removeEvents(int index)
removeEvents
in interface EventClient
index
- the index of the com.sun.grid.jgdi.configuration.Event attribute which should be
removednull
if
no attribute at this index is storedpublic boolean removeEvents(Event aevents)
removeEvents
in interface EventClient
aevents
- the com.sun.grid.jgdi.configuration.Event attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.Event attribute has been removedpublic java.util.List<Event> getEventsList()
getEventsList
in interface EventClient
public int getEventsCount()
getEventsCount
in interface EventClient
public Event getEvents(int index)
getEvents
in interface EventClient
index
- the index of the com.sun.grid.jgdi.configuration.Event attribute which should be
removedpublic boolean isSetEvents()
isSetEvents
in interface EventClient
true
if the events attribute is setpublic boolean isSetState()
isSetState
in interface EventClient
true
if the state attribute is setpublic void setState(int aState)
setState
in interface EventClient
aState
- the new value for the state attributepublic int getState()
getState
in interface EventClient
public boolean equals(java.lang.Object obj)
obj
.equals
in class java.lang.Object
obj
- the compared objecttrue
if the primary key information is equal to the
primary key informations of obj
.public boolean equalsCompletely(java.lang.Object obj)
equalsCompletely
in interface GEObject
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String dump()
dump
in interface EventClient
Copyright © 2007 Sun Microsystems, Inc. All rights reserved.