/servers/jain-slee/tools/slee-management-console/rpc/src/main/java/org/mobicents/slee/container/management/console/client/components/info/ComponentTypeInfo.java
http://mobicents.googlecode.com/ · Java · 75 lines · 28 code · 18 blank · 29 comment · 0 complexity · 83e7699b194a4fccb40122d48cd71375 MD5 · raw file
- /*
- * JBoss, Home of Professional Open Source
- * Copyright 2003-2011, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
- package org.mobicents.slee.container.management.console.client.components.info;
-
- import com.google.gwt.user.client.rpc.IsSerializable;
-
- /**
- *
- * @author Stefano Zappaterra
- * @author <a href="mailto:brainslog@gmail.com"> Alexandre Mendonca </a>
- */
- public class ComponentTypeInfo implements IsSerializable {
-
- final static public String EVENT_TYPE = "Event Type";
-
- final static public String PROFILE_SPECIFICATION = "Profile Specification";
-
- final static public String SBB = "SBB";
-
- final static public String RESOURCE_ADAPTOR_TYPE = "Resource Adaptor Type";
-
- final static public String RESOURCE_ADAPTOR = "Resource Adaptor";
-
- final static public String SERVICE = "Service";
-
- final static public String LIBRARY = "Library";
-
- private String type = "";
-
- private int componentNumber;
-
- public ComponentTypeInfo() {
- }
-
- public ComponentTypeInfo(String type, int componentNumber) {
- this.type = type;
- this.componentNumber = componentNumber;
- }
-
- public int getComponentNumber() {
- return componentNumber;
- }
-
- public String getType() {
- return type;
- }
-
- public String toString() {
- return "ComponentTypeInfo: type=[" + type + "] componentNumber=[" + componentNumber + "]";
- }
-
- /*
- * public ComponentTypeInfo clone() { return new ComponentTypeInfo(new String(type), componentNumber); }
- */
- }