|
WebLogic Process Integrator Version 2.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.wlpi.common.BusinessCalendarInfo
Holds information about a business calendar.
Objects of this class override the boolean equals(Object)
and
implement the comparable
interface. Homogeneous collections
containing objects of this class may, therefore, be searched and sorted using
the Collection.contains(Object), List.indexOf(Object),
Collections.sort(List)
methods.
Fields inherited from interface com.bea.wlpi.common.Publishable |
BUSINESS_CALENDAR, BUSINESS_OPERATION, EVENT_KEY, ORG, ROLE, TEMPLATE, TEMPLATE_DEFINITION, USER, XML_REPOSITORY_ENTITY, XML_REPOSITORY_FOLDER |
Constructor Summary | |
BusinessCalendarInfo(java.lang.String id,
java.lang.String name,
java.lang.String timezone,
java.lang.String xml)
Create a new BusinessCalendarInfo object. |
|
BusinessCalendarInfo(java.lang.String id,
java.lang.String name,
java.lang.String timezone,
java.lang.String xml,
boolean published)
Create a new BusinessCalendarInfo object. |
Method Summary | |
int |
compareTo(java.lang.Object o)
Compare two BusinessCalendarInfo objects. |
boolean |
equals(java.lang.Object obj)
Test two BusinessCalendarInfo objects for equality. |
java.lang.Object |
getContents()
Return the publishable content. |
java.lang.String |
getEntryName()
Return the display name for the publishable object. |
java.lang.String |
getId()
Return the business calendar ID. |
java.lang.String |
getName()
Return the business calendar display name. |
java.lang.String |
getOwnerName()
Return the name of the object's owner. |
java.lang.String |
getTimeZone()
Return the timezone in which the business calendar operates. |
int |
getType()
Return the type of publishable object. |
java.lang.String |
getXML()
Return the business calendar definition. |
boolean |
isPublished()
Whether this business calendar is published. |
void |
setId(java.lang.String id)
Set the business calendar unique ID. |
void |
setName(java.lang.String name)
Set the business calendar name. |
void |
setTimeZone(java.lang.String timezone)
Set the business calendar timezone. |
void |
setXML(java.lang.String xml)
Set the business calendar definition. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BusinessCalendarInfo(java.lang.String id, java.lang.String name, java.lang.String timezone, java.lang.String xml)
BusinessCalendarInfo
object.id
- The business calendar ID.name
- The business calendar name.timezone
- The timezone in which the business calendar operates.xml
- The business calendar definition (in XML format) compliant
with the business calendar
document type definition.public BusinessCalendarInfo(java.lang.String id, java.lang.String name, java.lang.String timezone, java.lang.String xml, boolean published)
BusinessCalendarInfo
object.id
- The business calendar ID.name
- The business calendar name.timezone
- The timezone in which the business calendar operates.xml
- The business calendar definition (in XML format) compliant
with the business calendar
document type definition.published
- true
if the business calendar is published.Method Detail |
public java.lang.String getId()
setId(java.lang.String)
public java.lang.String getName()
setName(java.lang.String)
public java.lang.String getTimeZone()
setTimeZone(java.lang.String)
public java.lang.String getXML()
setXML(java.lang.String)
public boolean isPublished()
isPublished
in interface Publishable
true
if published.public void setId(java.lang.String id)
id
- The unique ID of the business calendar.getId()
public void setName(java.lang.String name)
name
- Human-readable calendar name.getName()
public void setTimeZone(java.lang.String timezone)
timezone
- The timezone in which the business calendar operates.getTimeZone()
public void setXML(java.lang.String xml)
xml
- The business calendar definition (in XML format) compliant
with the business calendar
document type definition.getXML()
public boolean equals(java.lang.Object obj)
BusinessCalendarInfo
objects for equality.equals
in class java.lang.Object
obj
- Object with which to compare this one.true
if obj
is an instance of
BusinessCalendarInfo
with the same ID as this one.compareTo(java.lang.Object)
public int compareTo(java.lang.Object o)
BusinessCalendarInfo
objects.compareTo
in interface java.lang.Comparable
obj
- Object with which to compare this one. Must be
null
or an instance of BusinessCalendarInfo
.name
members using the String.compareTo(Object)
method.java.lang.ClassCastException
- if o
is not an instance of
BusinessCalendarInfo
.equals(java.lang.Object)
public java.lang.Object getContents()
Publishable
getContents
in interface Publishable
com.bea.wlpi.common.Publishable
public java.lang.String getEntryName()
Publishable
getEntryName
in interface Publishable
com.bea.wlpi.common.Publishable
public int getType()
Publishable
getType
in interface Publishable
com.bea.wlpi.common.Publishable
Publishable.TEMPLATE
,
Publishable.TEMPLATE_DEFINITION
,
Publishable.BUSINESS_OPERATION
,
Publishable.BUSINESS_CALENDAR
,
Publishable.USER
,
Publishable.ROLE
,
Publishable.ORG
,
Publishable.XML_REPOSITORY_FOLDER
,
Publishable.XML_REPOSITORY_ENTITY
,
Publishable.EVENT_KEY
,public java.lang.String getOwnerName()
Publishable
getOwnerName
in interface Publishable
com.bea.wlpi.common.Publishable
|
WebLogic Process Integrator Version 2.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |