com.sun.javacard.ant.types
Class AppletNameAID

java.lang.Object
  extended bycom.sun.javacard.ant.types.AppletNameAID

public class AppletNameAID
extends java.lang.Object

Defines the appletnameaid the link beween Applet name and instance aid defined like aid="A0:01:02:03:04:05:06"/>


Field Summary
protected  java.lang.String aid
          Applet AID
protected  java.lang.String appletname
          Applet name
 
Constructor Summary
AppletNameAID()
           
 
Method Summary
 java.lang.String getAid()
          Returns the aid of the applet instance
 java.lang.String getAppletname()
          Returns the applet name
 boolean isNull()
          Checks that appletname and aid is not null
 void setAid(java.lang.String aid)
          Sets the applet instance aid
 void setAppletname(java.lang.String name)
          Set the Applet name
 java.lang.String toString()
          returns the two elements as a string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

appletname

protected java.lang.String appletname
Applet name


aid

protected java.lang.String aid
Applet AID

Constructor Detail

AppletNameAID

public AppletNameAID()
Method Detail

setAppletname

public void setAppletname(java.lang.String name)
Set the Applet name

Parameters:
name - of the Applet class

setAid

public void setAid(java.lang.String aid)
Sets the applet instance aid

Parameters:
aid - aid of the applet instance as a String

getAppletname

public java.lang.String getAppletname()
Returns the applet name

Returns:
appletname

getAid

public java.lang.String getAid()
Returns the aid of the applet instance

Returns:
aid of the applet instance

isNull

public boolean isNull()
Checks that appletname and aid is not null

Returns:
true if one of the elements is null

toString

public java.lang.String toString()
returns the two elements as a string

Returns:
appletname:aid as String


Copyright © 2005 Sun Microsystems, Inc. 4150 Network Circle,
Santa Clara, CA-95054, U.S.A. All Rights Reserved.