org.netbeans.modules.j2ee.dd/1 1.13.0 2

org.netbeans.modules.j2ee.dd.api.application
Interface Application

All Superinterfaces:
CommonDDBean, ComponentInterface, CreateCapability, DescriptionInterface, DisplayNameInterface, FindCapability, IconInterface, RootInterface

public interface Application
extends RootInterface


Field Summary
static String MODULE
           
static String PROPERTY_STATUS
           
static String PROPERTY_VERSION
           
static String SECURITY_ROLE
           
static int STATE_INVALID_PARSABLE
           
static int STATE_INVALID_UNPARSABLE
           
static int STATE_VALID
           
static String VERSION_1_3
           
static String VERSION_1_4
           
static String VERSION_5
           
 
Fields inherited from interface org.netbeans.modules.j2ee.dd.api.common.RootInterface
MERGE_INTERSECT, MERGE_UNION, MERGE_UPDATE
 
Method Summary
 int addIcon(Icon value)
           
 int addModule(Module value)
           
 int addSecurityRole(SecurityRole value)
           
 SAXParseException getError()
          Getter for SAX Parse Error property.
 Icon getIcon(int index)
           
 Module[] getModule()
           
 Module getModule(int index)
           
 SecurityRole[] getSecurityRole()
           
 SecurityRole getSecurityRole(int index)
           
 int getStatus()
          Getter for status property.
 BigDecimal getVersion()
          Getter for version property.
 Icon newIcon()
           
 Module newModule()
           
 SecurityRole newSecurityRole()
           
 int removeIcon(Icon value)
           
 int removeModule(Module value)
           
 int removeSecurityRole(SecurityRole value)
           
 void setIcon(Icon[] value)
           
 void setIcon(int index, Icon value)
           
 void setModule(int index, Module value)
           
 void setModule(Module[] value)
           
 void setSecurityRole(int index, SecurityRole value)
           
 void setSecurityRole(SecurityRole[] value)
           
 int sizeIcon()
           
 int sizeModule()
           
 int sizeSecurityRole()
           
 
Methods inherited from interface org.netbeans.modules.j2ee.dd.api.common.RootInterface
merge, write
 
Methods inherited from interface org.netbeans.modules.j2ee.dd.api.common.CommonDDBean
addPropertyChangeListener, clone, getId, getValue, removePropertyChangeListener, setId, write
 
Methods inherited from interface org.netbeans.modules.j2ee.dd.api.common.DescriptionInterface
getAllDescriptions, getDefaultDescription, getDescription, removeAllDescriptions, removeDescription, removeDescriptionForLocale, setAllDescriptions, setDescription, setDescription
 
Methods inherited from interface org.netbeans.modules.j2ee.dd.api.common.DisplayNameInterface
getAllDisplayNames, getDefaultDisplayName, getDisplayName, removeAllDisplayNames, removeDisplayName, removeDisplayNameForLocale, setAllDisplayNames, setDisplayName, setDisplayName
 
Methods inherited from interface org.netbeans.modules.j2ee.dd.api.common.CreateCapability
addBean, addBean, createBean
 
Methods inherited from interface org.netbeans.modules.j2ee.dd.api.common.FindCapability
findBeanByName
 
Methods inherited from interface org.netbeans.modules.j2ee.dd.api.common.IconInterface
getAllIcons, getDefaultIcon, getLargeIcon, getLargeIcon, getSmallIcon, getSmallIcon, removeAllIcons, removeIcon, removeIcon, removeLargeIcon, removeLargeIcon, removeSmallIcon, removeSmallIcon, setAllIcons, setIcon, setLargeIcon, setLargeIcon, setSmallIcon, setSmallIcon
 

Field Detail

MODULE

static final String MODULE
See Also:
Constant Field Values

SECURITY_ROLE

static final String SECURITY_ROLE
See Also:
Constant Field Values

PROPERTY_VERSION

static final String PROPERTY_VERSION
See Also:
Constant Field Values

VERSION_1_3

static final String VERSION_1_3
See Also:
Constant Field Values

VERSION_1_4

static final String VERSION_1_4
See Also:
Constant Field Values

VERSION_5

static final String VERSION_5
See Also:
Constant Field Values

STATE_VALID

static final int STATE_VALID
See Also:
Constant Field Values

STATE_INVALID_PARSABLE

static final int STATE_INVALID_PARSABLE
See Also:
Constant Field Values

STATE_INVALID_UNPARSABLE

static final int STATE_INVALID_UNPARSABLE
See Also:
Constant Field Values

PROPERTY_STATUS

static final String PROPERTY_STATUS
See Also:
Constant Field Values
Method Detail

getVersion

BigDecimal getVersion()
Getter for version property.

Returns:
property value

getError

SAXParseException getError()
Getter for SAX Parse Error property. Used when deployment descriptor is in invalid state.

Returns:
property value or null if in valid state

getStatus

int getStatus()
Getter for status property.

Returns:
property value

setModule

void setModule(int index,
               Module value)

getModule

Module getModule(int index)

sizeModule

int sizeModule()

setModule

void setModule(Module[] value)

getModule

Module[] getModule()

addModule

int addModule(Module value)

removeModule

int removeModule(Module value)

newModule

Module newModule()

setSecurityRole

void setSecurityRole(int index,
                     SecurityRole value)

getSecurityRole

SecurityRole getSecurityRole(int index)

sizeSecurityRole

int sizeSecurityRole()

setSecurityRole

void setSecurityRole(SecurityRole[] value)

getSecurityRole

SecurityRole[] getSecurityRole()

addSecurityRole

int addSecurityRole(SecurityRole value)

removeSecurityRole

int removeSecurityRole(SecurityRole value)

newSecurityRole

SecurityRole newSecurityRole()

setIcon

void setIcon(int index,
             Icon value)
             throws VersionNotSupportedException
Throws:
VersionNotSupportedException

getIcon

Icon getIcon(int index)
             throws VersionNotSupportedException
Throws:
VersionNotSupportedException

sizeIcon

int sizeIcon()
             throws VersionNotSupportedException
Throws:
VersionNotSupportedException

setIcon

void setIcon(Icon[] value)
             throws VersionNotSupportedException
Throws:
VersionNotSupportedException

addIcon

int addIcon(Icon value)
            throws VersionNotSupportedException
Throws:
VersionNotSupportedException

removeIcon

int removeIcon(Icon value)
               throws VersionNotSupportedException
Throws:
VersionNotSupportedException

newIcon

Icon newIcon()

org.netbeans.modules.j2ee.dd/1 1.13.0 2

Built on December 1 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.