001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */
017: package org.apache.jetspeed.om.folder.impl;
018:
019: import org.apache.jetspeed.om.folder.MenuOptionsDefinition;
020:
021: /**
022: * BaseMenuOptionsDefinitionImpl
023: *
024: * @author <a href="mailto:rwatler@apache.org">Randy Watler</a>
025: * @version $Id:$
026: */
027: public abstract class BaseMenuOptionsDefinitionImpl extends
028: BaseMenuDefinitionElement implements MenuOptionsDefinition {
029: private String options;
030: private int depth;
031: private boolean paths;
032: private boolean regexp;
033: private String profile;
034: private String order;
035: private String skin;
036:
037: /* (non-Javadoc)
038: * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#getOptions()
039: */
040: public String getOptions() {
041: return options;
042: }
043:
044: /* (non-Javadoc)
045: * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#setOptions(java.lang.String)
046: */
047: public void setOptions(String options) {
048: this .options = options;
049: }
050:
051: /* (non-Javadoc)
052: * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#getDepth()
053: */
054: public int getDepth() {
055: return depth;
056: }
057:
058: /* (non-Javadoc)
059: * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#setDepth(int)
060: */
061: public void setDepth(int depth) {
062: this .depth = depth;
063: }
064:
065: /* (non-Javadoc)
066: * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#isPaths()
067: */
068: public boolean isPaths() {
069: return paths;
070: }
071:
072: /* (non-Javadoc)
073: * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#setPaths(boolean)
074: */
075: public void setPaths(boolean paths) {
076: this .paths = paths;
077: }
078:
079: /* (non-Javadoc)
080: * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#isRegexp()
081: */
082: public boolean isRegexp() {
083: return regexp;
084: }
085:
086: /* (non-Javadoc)
087: * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#setRegexp(boolean)
088: */
089: public void setRegexp(boolean regexp) {
090: this .regexp = regexp;
091: }
092:
093: /* (non-Javadoc)
094: * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#getProfile()
095: */
096: public String getProfile() {
097: return profile;
098: }
099:
100: /* (non-Javadoc)
101: * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#setProfile(java.lang.String)
102: */
103: public void setProfile(String locatorName) {
104: profile = locatorName;
105: }
106:
107: /* (non-Javadoc)
108: * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#getOrder()
109: */
110: public String getOrder() {
111: return order;
112: }
113:
114: /* (non-Javadoc)
115: * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#setOrder(java.lang.String)
116: */
117: public void setOrder(String order) {
118: this .order = order;
119: }
120:
121: /* (non-Javadoc)
122: * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#getSkin()
123: */
124: public String getSkin() {
125: return skin;
126: }
127:
128: /* (non-Javadoc)
129: * @see org.apache.jetspeed.om.folder.MenuOptionsDefinition#setSkin(java.lang.String)
130: */
131: public void setSkin(String name) {
132: skin = name;
133: }
134: }
|