org.rapla.entities.dynamictype
Class AttributeType

java.lang.Object
  extended by org.rapla.entities.dynamictype.AttributeType
All Implemented Interfaces:
Serializable

public class AttributeType
extends Object
implements Serializable

Attributes are to DynamicTypes, what properties are to Beans. Currently Rapla supports the following types:

  • string
  • int
  • date
  • boolean
  • rapla:category
  • See Also:
    DynamicType, Serialized Form

    Field Summary
    static AttributeType BOOLEAN
               
    static AttributeType CATEGORY
               
    static AttributeType DATE
               
    static AttributeType INT
               
    static AttributeType STRING
               
     
    Method Summary
     boolean equals(Object other)
               
    static AttributeType findForString(String string)
               
     int hashCode()
               
     boolean is(AttributeType other)
               
     String toString()
               
     
    Methods inherited from class java.lang.Object
    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
     

    Field Detail

    STRING

    public static AttributeType STRING

    INT

    public static AttributeType INT

    DATE

    public static AttributeType DATE

    BOOLEAN

    public static AttributeType BOOLEAN

    CATEGORY

    public static AttributeType CATEGORY
    Method Detail

    is

    public boolean is(AttributeType other)

    findForString

    public static AttributeType findForString(String string)

    toString

    public String toString()
    Overrides:
    toString in class Object

    equals

    public boolean equals(Object other)
    Overrides:
    equals in class Object

    hashCode

    public int hashCode()
    Overrides:
    hashCode in class Object


    Copyright © 2000-2006 Rapla Team. All Rights Reseserved.