001: package org.obe.client.api.repository;
002:
003: import org.obe.xpdl.model.data.ExternalReference;
004: import org.xml.sax.EntityResolver;
005:
006: /**
007: * @author Adrian Price
008: */
009: public class UpdateProcessAttributesMetaData extends ToolAgentMetaData {
010: private static final long serialVersionUID = -3003775733188776748L;
011: private static final String IMPL_CLASS = "org.obe.runtime.tool.UpdateProcessAttributes";
012: private static final String[] IMPL_CTOR_SIG = { UpdateProcessAttributesMetaData.class
013: .getName() };
014: private int _height;
015: private int _width;
016: private boolean _status;
017: private boolean _toolbar;
018: private boolean _menubar;
019: private boolean _location;
020: private boolean _scrollbars;
021: private String _title;
022:
023: public UpdateProcessAttributesMetaData() {
024: }
025:
026: public UpdateProcessAttributesMetaData(String id,
027: String displayName, String description, String docUrl,
028: String author, boolean threadsafe) {
029:
030: super (id, displayName, description, docUrl, author, threadsafe);
031: }
032:
033: public ToolAgentMetaData introspect(ExternalReference extRef,
034: EntityResolver entityResolver) throws RepositoryException {
035:
036: return null;
037: }
038:
039: public String getTitle() {
040: return _title != null ? _title : _type == null
041: || !allowInheritance ? null
042: : ((UpdateProcessAttributesMetaData) _type).getTitle();
043: }
044:
045: public void setTitle(String title) {
046: _title = title;
047: }
048:
049: public int getHeight() {
050: return _height == 0 ? _type == null || !allowInheritance ? 0
051: : ((UpdateProcessAttributesMetaData) _type).getHeight()
052: : _height;
053: }
054:
055: public void setHeight(int height) {
056: _height = height;
057: }
058:
059: public int getWidth() {
060: return _width == 0 ? _type == null || !allowInheritance ? 0
061: : ((UpdateProcessAttributesMetaData) _type).getWidth()
062: : _width;
063: }
064:
065: public void setWidth(int width) {
066: _width = width;
067: }
068:
069: public boolean getStatus() {
070: return _status;
071: }
072:
073: public void setStatus(boolean status) {
074: _status = status;
075: }
076:
077: public boolean getToolbar() {
078: return _toolbar;
079: }
080:
081: public void setToolbar(boolean toolbar) {
082: _toolbar = toolbar;
083: }
084:
085: public boolean getMenubar() {
086: return _menubar;
087: }
088:
089: public void setMenubar(boolean menubar) {
090: _menubar = menubar;
091: }
092:
093: public boolean getLocation() {
094: return _location;
095: }
096:
097: public void setLocation(boolean location) {
098: _location = location;
099: }
100:
101: public boolean getScrollbars() {
102: return _scrollbars;
103: }
104:
105: public void setScrollbars(boolean scrollbars) {
106: _scrollbars = scrollbars;
107: }
108:
109: protected String getImplClass() {
110: return IMPL_CLASS;
111: }
112:
113: protected String[] getImplCtorSig() {
114: return IMPL_CTOR_SIG;
115: }
116: }
|