|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The application element is the root element of a J2EE application deployment descriptor.
Method Summary | |
---|---|
boolean |
containsSecurityRole(java.lang.String name)
|
Module |
getFirstModule(java.lang.String uri)
Returns the first module matching the specified uri |
int |
getJ2EEVersionID()
This returns the j2ee version id. |
Module |
getModule(java.lang.String uri)
Deprecated. preferably use getModule(String, String) or getFirstModule(String)
There may be multiple modules with the same uri but different alt-dds |
Module |
getModule(java.lang.String uri,
java.lang.String altDD)
Returns the first module matching the specified uri and altDD |
Module |
getModuleHavingAltDD(java.lang.String uri)
Returns the first module where the alt dd matches the specified uri |
EList |
getModules()
|
SecurityRole |
getSecurityRoleNamed(java.lang.String name)
|
EList |
getSecurityRoles()
|
java.lang.String |
getVersion()
Returns the value of the 'Version' attribute |
int |
getVersionID()
This returns the module version id. |
boolean |
isVersion1_2Descriptor()
Deprecated. Use getVersionID() to determine module level |
boolean |
isVersion1_3Descriptor()
Deprecated. Use getVersionID() to determine module level |
void |
setVersion(java.lang.String value)
Sets the value of the ' Version ' attribute |
Methods inherited from interface org.eclipse.jst.j2ee.common.CompatibilityDescriptionGroup |
---|
getDescription, getDisplayName, getLargeIcon, getSmallIcon, setDescription, setDescriptionGen, setDisplayName, setDisplayNameGen, setLargeIcon, setLargeIconGen, setSmallIcon, setSmallIconGen |
Methods inherited from interface org.eclipse.jst.j2ee.common.DescriptionGroup |
---|
getDescriptions, getDisplayNames, getIcons |
Method Detail |
public boolean containsSecurityRole(java.lang.String name)
name
- - String role name
public Module getModule(java.lang.String uri, java.lang.String altDD)
uri
- - String aURIaltDD
- - String altDD
public Module getModule(java.lang.String uri)
getModule(String, String)
or getFirstModule(String)
There may be multiple modules with the same uri but different alt-dds
uri
- - String uri
public int getJ2EEVersionID() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- - When resource is proxypublic int getVersionID() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- - When resource is proxypublic Module getFirstModule(java.lang.String uri)
uri
- - String uri path
public Module getModuleHavingAltDD(java.lang.String uri)
uri
- - String uri path
public SecurityRole getSecurityRoleNamed(java.lang.String name)
name
- - String role name
public boolean isVersion1_2Descriptor()
public boolean isVersion1_3Descriptor()
public java.lang.String getVersion()
If the meaning of the 'Version' attribute isn't clear, there really should be more of a description here...
setVersion(String)
,
ApplicationPackage.getApplication_Version()
public void setVersion(java.lang.String value)
Version
' attribute.
value
- the new value of the 'Version' attribute.getVersion()
public EList getSecurityRoles()
public EList getModules()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |