EMMA Coverage Report (generated Fri Sep 15 10:32:43 EDT 2006)
[all classes][org.apache.pluto.driver.services.portal]

COVERAGE SUMMARY FOR SOURCE FILE [PageConfig.java]

nameclass, %method, %block, %line, %
PageConfig.java0%   (0/1)0%   (0/10)0%   (0/45)0%   (0/17)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class PageConfig0%   (0/1)0%   (0/10)0%   (0/45)0%   (0/17)
PageConfig (): void 0%   (0/1)0%   (0/8)0%   (0/3)
addPortlet (String, String, String): void 0%   (0/1)0%   (0/9)0%   (0/2)
getName (): String 0%   (0/1)0%   (0/3)0%   (0/1)
getOrderNumber (): int 0%   (0/1)0%   (0/3)0%   (0/1)
getPortletIds (): Collection 0%   (0/1)0%   (0/3)0%   (0/1)
getUri (): String 0%   (0/1)0%   (0/3)0%   (0/1)
setName (String): void 0%   (0/1)0%   (0/4)0%   (0/2)
setOrderNumber (int): void 0%   (0/1)0%   (0/4)0%   (0/2)
setPortletIds (Collection): void 0%   (0/1)0%   (0/4)0%   (0/2)
setUri (String): void 0%   (0/1)0%   (0/4)0%   (0/2)

1/*
2 * Copyright 2004 The Apache Software Foundation.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.apache.pluto.driver.services.portal;
17 
18import java.util.ArrayList;
19import java.util.Collection;
20 
21/**
22 * @author <a href="ddewolf@apache.org">David H. DeWolf</a>
23 */
24public class PageConfig {
25 
26    private String name;
27    private String uri;
28    private Collection portletIds;
29    private int orderNumber;
30 
31    public PageConfig() {
32        this.portletIds = new ArrayList();
33    }
34 
35    public String getName() {
36        return name;
37    }
38 
39    public void setName(String name) {
40        this.name = name;
41    }
42 
43    public String getUri() {
44        return uri;
45    }
46 
47    public void setUri(String uri) {
48        this.uri = uri;
49    }
50 
51    public Collection getPortletIds() {
52        return portletIds;
53    }
54 
55    public void setPortletIds(Collection ids) {
56        this.portletIds = ids;
57    }
58 
59    public void addPortlet(String contextPath, String portletName, String id) {
60        // IU_MOD--START
61        portletIds.add(PortletWindowConfig.createPortletId(contextPath, portletName, id));
62    }
63 
64    void setOrderNumber(int number) {
65        this.orderNumber = number;
66    }
67 
68    int getOrderNumber() {
69        return orderNumber;
70    }
71 
72 
73}

[all classes][org.apache.pluto.driver.services.portal]
EMMA 2.0.5312 (C) Vladimir Roubtsov