com.ptc.windchill.uwgm.common.attributes
Class IBAHelper

java.lang.Object
  extended bycom.ptc.windchill.uwgm.common.attributes.IBAHelper

public class IBAHelper
extends Object


Field Summary
static String DATE_FORMAT
           
static Object EDIT_IBAS
           
private static Log log
           
private static String MEASUREMENT_SYSTEM
           
private static String WC_MEASUREMENT_SYSTEM
           
 
Constructor Summary
IBAHelper()
           
 
Method Summary
 AbstractValueView createAttributeValue(AttributeDefDefaultView attrDef, String value)
           
private  AbstractValueView createAttributeValue(BooleanDefView attrDef, String value)
           
private  AbstractValueView createAttributeValue(FloatDefView attrDef, String value)
           
private  AbstractValueView createAttributeValue(IntegerDefView attrDef, String value)
           
private  AbstractValueView createAttributeValue(RatioDefView attrDef, String value)
           
private  AbstractValueView createAttributeValue(ReferenceDefView attrDef, String value)
           
private  AbstractValueView createAttributeValue(StringDefView attrDef, String value)
           
private  AbstractValueView createAttributeValue(TimestampDefView attrDef, String value)
           
private  AbstractValueView createAttributeValue(UnitDefView attrDef, String value)
           
private  AbstractValueView createAttributeValue(URLDefView attrDef, String value)
           
private  double getDefaultUnitValue(UnitDefView attrDef, double convertedValue)
           
 void processIBAs(WTKeyedMap ibaMap, Locale locale)
           
static IBAHolder[] refreshIBAContainers(IBAHolder[] holders)
           
 void setAttributeValue(AbstractValueView avv, String value)
           
private  void setAttributeValue(BooleanValueDefaultView attributeValueView, String value)
           
private  void setAttributeValue(FloatValueDefaultView attributeValueView, String value)
           
private  void setAttributeValue(IntegerValueDefaultView attributeValueView, String value)
           
private  void setAttributeValue(RatioValueDefaultView attributeValueView, String value)
           
private  void setAttributeValue(StringValueDefaultView attributeValueView, String value)
           
private  void setAttributeValue(TimestampValueDefaultView attributeValueView, String value)
           
private  void setAttributeValue(UnitValueDefaultView attributeValueView, String value)
           
private  void setAttributeValue(URLValueDefaultView attributeValueView, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATE_FORMAT

public static final String DATE_FORMAT

MEASUREMENT_SYSTEM

private static final String MEASUREMENT_SYSTEM

WC_MEASUREMENT_SYSTEM

private static final String WC_MEASUREMENT_SYSTEM

log

private static Log log

EDIT_IBAS

public static final Object EDIT_IBAS
Constructor Detail

IBAHelper

public IBAHelper()
Method Detail

processIBAs

public void processIBAs(WTKeyedMap ibaMap,
                        Locale locale)
                 throws WTException
Throws:
WTException

createAttributeValue

public AbstractValueView createAttributeValue(AttributeDefDefaultView attrDef,
                                              String value)
                                       throws WTException
Throws:
WTException

createAttributeValue

private AbstractValueView createAttributeValue(RatioDefView attrDef,
                                               String value)
                                        throws IBAValueException
Throws:
IBAValueException

createAttributeValue

private AbstractValueView createAttributeValue(UnitDefView attrDef,
                                               String value)
                                        throws IBAValueException
Throws:
IBAValueException

createAttributeValue

private AbstractValueView createAttributeValue(FloatDefView attrDef,
                                               String value)
                                        throws IBAValueException
Throws:
IBAValueException

createAttributeValue

private AbstractValueView createAttributeValue(URLDefView attrDef,
                                               String value)
                                        throws IBAValueException
Throws:
IBAValueException

createAttributeValue

private AbstractValueView createAttributeValue(ReferenceDefView attrDef,
                                               String value)
                                        throws IBAValueException
Throws:
IBAValueException

createAttributeValue

private AbstractValueView createAttributeValue(StringDefView attrDef,
                                               String value)
                                        throws IBAValueException
Throws:
IBAValueException

createAttributeValue

private AbstractValueView createAttributeValue(IntegerDefView attrDef,
                                               String value)
                                        throws IBAValueException
Throws:
IBAValueException

createAttributeValue

private AbstractValueView createAttributeValue(TimestampDefView attrDef,
                                               String value)
                                        throws IBAValueException
Throws:
IBAValueException

createAttributeValue

private AbstractValueView createAttributeValue(BooleanDefView attrDef,
                                               String value)
                                        throws IBAValueException
Throws:
IBAValueException

setAttributeValue

private void setAttributeValue(RatioValueDefaultView attributeValueView,
                               String value)
                        throws WTException
Throws:
WTException

setAttributeValue

public void setAttributeValue(AbstractValueView avv,
                              String value)
                       throws WTException
Throws:
WTException

setAttributeValue

private void setAttributeValue(UnitValueDefaultView attributeValueView,
                               String value)
                        throws WTException,
                               WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

setAttributeValue

private void setAttributeValue(FloatValueDefaultView attributeValueView,
                               String value)
                        throws WTException,
                               WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

setAttributeValue

private void setAttributeValue(IntegerValueDefaultView attributeValueView,
                               String value)
                        throws WTException,
                               WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

setAttributeValue

private void setAttributeValue(StringValueDefaultView attributeValueView,
                               String value)
                        throws WTException,
                               WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

setAttributeValue

private void setAttributeValue(BooleanValueDefaultView attributeValueView,
                               String value)
                        throws WTException,
                               WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

setAttributeValue

private void setAttributeValue(TimestampValueDefaultView attributeValueView,
                               String value)
                        throws WTException,
                               WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

setAttributeValue

private void setAttributeValue(URLValueDefaultView attributeValueView,
                               String value)
                        throws WTException,
                               WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

getDefaultUnitValue

private double getDefaultUnitValue(UnitDefView attrDef,
                                   double convertedValue)
                            throws WTException
Throws:
WTException

refreshIBAContainers

public static IBAHolder[] refreshIBAContainers(IBAHolder[] holders)
                                        throws WTException
Throws:
WTException