.
 
 This class provides identity information for a specific MIDlet
 including suite name, vendor, version, secuity domain, and if the
 MIDlet has been granted authorization to the current runtime execution
 environment using application level access authorization.
- Since:
- MIDP 3.0
| Field Summary | 
| static java.lang.String | IDENTIFIED_THIRD_PARTYConstant for the Identified Third Party domain.
 | 
| static java.lang.String | MANUFACTURERConstant for the Manufacturer domain.
 | 
| static java.lang.String | OPERATORConstant for the Operator domain.
 | 
| static java.lang.String | UNIDENTIFIED_THIRD_PARTYConstant for the Unidentified Third Party domain.
 | 
 
| Method Summary | 
|  java.lang.String | getName()Get the name of the MIDlet
 | 
|  java.lang.String | getSecurityDomain()Get the name of the security domain for the
 MIDletassociated
 with the specifiedMIDletIdentity. | 
|  java.lang.String | getVendor()Get vendor name of the MIDlet
 | 
|  java.lang.String | getVersion()Get version of the MIDlet
 | 
|  boolean | isAuthorized()Checks whether the MIDlet associated with the specified
 MIDletIdentityis authorized to the current
 MIDlet's runtime execution environment via application
 level access authorization. | 
|  java.lang.String | toString()Returns the string representation of this MIDletIdentity.
 | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
MANUFACTURER
public static final java.lang.String MANUFACTURER
- Constant for the Manufacturer domain.
 Returned by getSecurityDomain() if the
 MIDlet was bound to the Manufacturer domain
 at install time.
 
- See Also:
- Constant Field Values
 
OPERATOR
public static final java.lang.String OPERATOR
- Constant for the Operator domain.
 Returned by getSecurityDomain() iff the
 MIDlet was bound to the Operator domain
 at install time.
 
- See Also:
- Constant Field Values
 
IDENTIFIED_THIRD_PARTY
public static final java.lang.String IDENTIFIED_THIRD_PARTY
- Constant for the Identified Third Party domain.
 Returned by getSecurityDomain() iff the
 MIDlet was bound to the Identified Third Party domain
 at install time.
 
- See Also:
- Constant Field Values
 
UNIDENTIFIED_THIRD_PARTY
public static final java.lang.String UNIDENTIFIED_THIRD_PARTY
- Constant for the Unidentified Third Party domain.
 Returned by getSecurityDomain() iff the
 MIDlet was bound to the Unidentified Third Party domain
 at install time.
 
- See Also:
- Constant Field Values
 
getName
public java.lang.String getName()
- Get the name of the MIDlet
 
- 
- Returns:
- Name of the MIDlet
 
getVersion
public java.lang.String getVersion()
- Get version of the MIDlet
 
- 
- Returns:
- Version string of the MIDlet
 
getVendor
public java.lang.String getVendor()
- Get vendor name of the MIDlet
 
- 
- Returns:
- Vendor name of the MIDlet
 
isAuthorized
public boolean isAuthorized()
- Checks whether the MIDlet associated with the specified
 MIDletIdentityis authorized to the current
 MIDlet's runtime execution environment via application
 level access authorization.
 
- 
- Returns:
- true if the MIDlet associated with the specified
 MIDletIdentityis authorized to the current MIDlet's
 runtime execution environment, false otherwise.
 
getSecurityDomain
public java.lang.String getSecurityDomain()
- Get the name of the security domain for the MIDletassociated
 with the specifiedMIDletIdentity. If theMIDletwas bound to one of the predefined security domains, then one of the following
 MUST be returned, as appropriate :
 
 If theMIDletwas not bound to one of the predefined security domains,
 then some String value other than those listed above MUST be returned.
 
- 
- Returns:
- Name of the security domain that the MIDletassociated
 with thisMIDletIdentitywas bound to when it was installed.
 
toString
public java.lang.String toString()
- Returns the string representation of this MIDletIdentity.
 
- 
- Overrides:
- toStringin class- java.lang.Object
 
- 
- Returns:
- the String concatenation of
    getVendor() + "; " + getName() + "; " + getVersion().
 
Send a comment or suggestionVersion 3.0 of Mobile Information Device Profile Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-2009 Motorola Inc. Portions copyright 1993-2002 Sun Microsystems, Inc. and Motorola, Inc. All Rights Reserved.