org.eclipse.higgins.icard.common
Class ClaimType
java.lang.Object
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
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
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