[jboss-jira] [JBoss JIRA] Resolved: (JBMAN-59) Need a primitive notion added to SimpleMetaType

Scott M Stark (JIRA) jira-events at lists.jboss.org
Fri Feb 27 01:18:44 EST 2009


     [ https://jira.jboss.org/jira/browse/JBMAN-59?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott M Stark resolved JBMAN-59.
--------------------------------

    Resolution: Done


The following primitive types have been added to SmpleMetaType:

   public static final SimpleMetaType BOOLEAN_PRIMITIVE;
   public static final SimpleMetaType BYTE_PRIMITIVE;
   public static final SimpleMetaType CHARACTER_PRIMITIVE;
   public static final SimpleMetaType DOUBLE_PRIMITIVE;
   public static final SimpleMetaType FLOAT_PRIMITIVE;
   public static final SimpleMetaType INTEGER_PRIMITIVE;
   public static final SimpleMetaType LONG_PRIMITIVE;
   public static final SimpleMetaType SHORT_PRIMITIVE;

There is also a equalsIgnorePrimitive(Object) that allows for comparision of the primitive and corresponding java.lang.* object to be seen as equivalent. For example, INTEGER_PRIMITIVE.equalsIgnorePrimitive(INTEGER) will be true.


> Need a primitive notion added to SimpleMetaType
> -----------------------------------------------
>
>                 Key: JBMAN-59
>                 URL: https://jira.jboss.org/jira/browse/JBMAN-59
>             Project: JBoss Managed
>          Issue Type: Feature Request
>          Components: metatype
>    Affects Versions: JBossMan.2.1.0.CR1
>            Reporter: Scott M Stark
>            Assignee: Scott M Stark
>             Fix For: JBossMan.2.0.1.GA,  JBossMan.2.1.0.CR2
>
>
> We need an isPrimitive notion added to SimpleMetaType so that one can build proper signatures for method invocations for example. There may be other context where one needs to know if the MetaType does correspond to a primitive. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list