public class PolicyManage extends Object implements Serializable
Constructor and Description |
---|
PolicyManage() |
Modifier and Type | Method and Description |
---|---|
void |
addSchedule(int index,
Schedule vSchedule) |
void |
addSchedule(Schedule vSchedule) |
void |
deleteDelay() |
void |
deleteRetries() |
void |
deleteUseCategories() |
Enumeration<Schedule> |
enumerateSchedule()
Method enumerateSchedule.
|
boolean |
equals(Object obj)
Overrides the Object.equals method.
|
String |
getDefaultType()
Returns the value of field 'defaultType'.
|
Long |
getDelay()
Returns the value of field 'delay'.
|
String |
getName()
Returns the value of field 'name'.
|
Package |
getPackage()
Returns the value of field 'package'.
|
Integer |
getRetries()
Returns the value of field 'retries'.
|
Schedule[] |
getSchedule()
Method getSchedule.Returns the contents of the collection in an Array.
|
Schedule |
getSchedule(int index)
Method getSchedule.
|
List<Schedule> |
getScheduleCollection()
Method getScheduleCollection.Returns a reference to 'scheduleList'.
|
int |
getScheduleCount()
Method getScheduleCount.
|
Boolean |
getUseCategories()
Returns the value of field 'useCategories'.
|
boolean |
hasDelay()
Method hasDelay.
|
int |
hashCode()
Method hashCode.
|
boolean |
hasRetries()
Method hasRetries.
|
boolean |
hasUseCategories()
Method hasUseCategories.
|
Boolean |
isUseCategories()
Returns the value of field 'useCategories'.
|
Iterator<Schedule> |
iterateSchedule()
Method iterateSchedule.
|
void |
removeAllSchedule() |
boolean |
removeSchedule(Schedule vSchedule)
Method removeSchedule.
|
Schedule |
removeScheduleAt(int index)
Method removeScheduleAt.
|
void |
setDefaultType(String defaultType)
Sets the value of field 'defaultType'.
|
void |
setDelay(Long delay)
Sets the value of field 'delay'.
|
void |
setName(String name)
Sets the value of field 'name'.
|
void |
setPackage(Package _package)
Sets the value of field 'package'.
|
void |
setRetries(Integer retries)
Sets the value of field 'retries'.
|
void |
setSchedule(int index,
Schedule vSchedule) |
void |
setSchedule(List<Schedule> vScheduleList)
Sets the value of 'scheduleList' by copying the given Vector.
|
void |
setSchedule(Schedule[] vScheduleArray) |
void |
setScheduleCollection(List<Schedule> scheduleList)
Deprecated.
|
void |
setUseCategories(Boolean useCategories)
Sets the value of field 'useCategories'.
|
public void addSchedule(Schedule vSchedule) throws IndexOutOfBoundsException
vSchedule
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic void addSchedule(int index, Schedule vSchedule) throws IndexOutOfBoundsException
index
- vSchedule
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic void deleteDelay()
public void deleteRetries()
public void deleteUseCategories()
public Enumeration<Schedule> enumerateSchedule()
public boolean equals(Object obj)
public String getDefaultType()
public Long getDelay()
public String getName()
public Package getPackage()
public Integer getRetries()
public Schedule getSchedule(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic Schedule[] getSchedule()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Schedule> getScheduleCollection()
public int getScheduleCount()
public Boolean getUseCategories()
public boolean hasDelay()
public boolean hasRetries()
public boolean hasUseCategories()
public int hashCode()
public Boolean isUseCategories()
public Iterator<Schedule> iterateSchedule()
public void removeAllSchedule()
public boolean removeSchedule(Schedule vSchedule)
vSchedule
- public Schedule removeScheduleAt(int index)
index
- public void setDefaultType(String defaultType)
defaultType
- the value of field 'defaultType'.public void setDelay(Long delay)
delay
- the value of field 'delay'.public void setName(String name)
name
- the value of field 'name'.public void setPackage(Package _package)
_package
- package
- the value of field 'package'.public void setRetries(Integer retries)
retries
- the value of field 'retries'.public void setSchedule(int index, Schedule vSchedule) throws IndexOutOfBoundsException
index
- vSchedule
- IndexOutOfBoundsException
- if the index given is outside
the bounds of the collectionpublic void setSchedule(Schedule[] vScheduleArray)
vScheduleArray
- public void setSchedule(List<Schedule> vScheduleList)
vScheduleList
- the Vector to copy.public void setScheduleCollection(List<Schedule> scheduleList)
scheduleList
- the Vector to set.public void setUseCategories(Boolean useCategories)
useCategories
- the value of field 'useCategories'.Copyright © 2017. All rights reserved.