org.eclipse.higgins.icard.common
Class ClaimType

java.lang.Object
  extended by org.eclipse.higgins.icard.common.ClaimType
All Implemented Interfaces:
org.eclipse.higgins.icard.IClaimType, org.eclipse.higgins.icard.ISimpleClaimType

public class ClaimType
extends Object
implements org.eclipse.higgins.icard.ISimpleClaimType


Constructor Summary
ClaimType(String type, String name, String description)
           
ClaimType(String type, String name, String description, boolean editable, boolean visible)
           
ClaimType(URI type, String name, String description)
           
 
Method Summary
 Object clone()
           
 Object fromString(String stringValue)
           
 Class getDataType()
           
 String getDescription()
           
 String getDisplayName()
           
 int getMaxCardinality()
           
 String getType()
           
 String getTypeLocalName()
           
 org.eclipse.higgins.icard.IUIDescriptor getUIDescriptor()
           
 boolean isEditable()
           
 boolean isSimple()
           
 boolean isVisible()
           
 void setUIDescriptor(org.eclipse.higgins.icard.IUIDescriptor descriptor)
           
 String toString(Object value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClaimType

public ClaimType(URI type,
                 String name,
                 String description)
          throws org.eclipse.higgins.icard.CardException
Throws:
org.eclipse.higgins.icard.CardException

ClaimType

public ClaimType(String type,
                 String name,
                 String description)
          throws org.eclipse.higgins.icard.CardException
Throws:
org.eclipse.higgins.icard.CardException

ClaimType

public ClaimType(String type,
                 String name,
                 String description,
                 boolean editable,
                 boolean visible)
          throws org.eclipse.higgins.icard.CardException
Throws:
org.eclipse.higgins.icard.CardException
Method Detail

getType

public String getType()
Specified by:
getType in interface org.eclipse.higgins.icard.IClaimType

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface org.eclipse.higgins.icard.IClaimType

getDescription

public String getDescription()
Specified by:
getDescription in interface org.eclipse.higgins.icard.IClaimType

getTypeLocalName

public String getTypeLocalName()
Specified by:
getTypeLocalName in interface org.eclipse.higgins.icard.IClaimType

clone

public Object clone()
Overrides:
clone in class Object

getMaxCardinality

public int getMaxCardinality()
Specified by:
getMaxCardinality in interface org.eclipse.higgins.icard.ISimpleClaimType

getDataType

public Class getDataType()
Specified by:
getDataType in interface org.eclipse.higgins.icard.ISimpleClaimType

toString

public String toString(Object value)
                throws org.eclipse.higgins.icard.InvalidValueException
Specified by:
toString in interface org.eclipse.higgins.icard.ISimpleClaimType
Throws:
org.eclipse.higgins.icard.InvalidValueException

fromString

public Object fromString(String stringValue)
                  throws org.eclipse.higgins.icard.InvalidValueException
Specified by:
fromString in interface org.eclipse.higgins.icard.ISimpleClaimType
Throws:
org.eclipse.higgins.icard.InvalidValueException

isSimple

public boolean isSimple()
Specified by:
isSimple in interface org.eclipse.higgins.icard.IClaimType

setUIDescriptor

public void setUIDescriptor(org.eclipse.higgins.icard.IUIDescriptor descriptor)

getUIDescriptor

public org.eclipse.higgins.icard.IUIDescriptor getUIDescriptor()
Specified by:
getUIDescriptor in interface org.eclipse.higgins.icard.IClaimType

isEditable

public boolean isEditable()
Specified by:
isEditable in interface org.eclipse.higgins.icard.IClaimType

isVisible

public boolean isVisible()
Specified by:
isVisible in interface org.eclipse.higgins.icard.IClaimType