com.ptc.core.ca.co.client.property
Class CoPropertyUtil

java.lang.Object
  extended by com.ptc.core.ca.co.client.property.CoPropertyUtil

Deprecated.

@Deprecated
public abstract class CoPropertyUtil
extends Object



Supported API: true

Extendable: false


Method Summary
static AttributeTypeSummary getAttributeTypeSummary(com.infoengine.object.factory.Element ieElement, String logicalName)
          Deprecated. Gets a atribute type summary of the attribute specified by it's logical name, from the given I*E element.
static Object getAttributeValue(com.infoengine.object.factory.Element ieElement, String logicalName)
          Deprecated. Gets a value of the attribute specified by it's logical name, from the given I*E element.
static String getLogicalName(CoProperty property, CoEnvData envData)
          Deprecated. Gets the logical name of the specified property.
static boolean isRequired(CoProperty property, CoEnvData envData)
          Deprecated. Is property required.
static String objectToString(Object obj, CoEnvData envData)
          Deprecated. 

Supported API: true
static void setAttributeValue(com.infoengine.object.factory.Element ieElement, String logicalName, Object value)
          Deprecated. Sets the passed value to the attribute specified by it's logical name, on the given I*E element.
static Object stringToObject(String str, CoEnvData envData)
          Deprecated. 

Supported API: true
static Object stringToObject(String str, String objectType, CoEnvData envData)
          Deprecated. 

Supported API: true
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isRequired

public static boolean isRequired(CoProperty property,
                                 CoEnvData envData)
                          throws WTException
Deprecated. 
Is property required.

Supported API: true

Parameters:
property -
envData -
Returns:
boolean
Throws:
WTException

getLogicalName

public static String getLogicalName(CoProperty property,
                                    CoEnvData envData)
                             throws WTException
Deprecated. 
Gets the logical name of the specified property. If the property is composite and has more than one attribute, the name of the first one will be returned.

Supported API: true

Parameters:
property -
envData -
Returns:
String
Throws:
WTException

stringToObject

public static Object stringToObject(String str,
                                    CoEnvData envData)
                             throws WTException
Deprecated. 


Supported API: true

Parameters:
str -
envData -
Returns:
Object
Throws:
WTException

objectToString

public static String objectToString(Object obj,
                                    CoEnvData envData)
                             throws WTException
Deprecated. 


Supported API: true

Parameters:
obj -
envData -
Returns:
String
Throws:
WTException

getAttributeValue

public static Object getAttributeValue(com.infoengine.object.factory.Element ieElement,
                                       String logicalName)
                                throws WTException
Deprecated. 
Gets a value of the attribute specified by it's logical name, from the given I*E element. If there are multiple values, the first one will be returned.

Supported API: true

Parameters:
ieElement - The I*E element whose attribute is searched.
logicalName - The logical name of the attribute.
Returns:
Object
Throws:
WTException

setAttributeValue

public static void setAttributeValue(com.infoengine.object.factory.Element ieElement,
                                     String logicalName,
                                     Object value)
                              throws WTException
Deprecated. 
Sets the passed value to the attribute specified by it's logical name, on the given I*E element.

Supported API: true

Parameters:
ieElement - The I*E element whose attribute is searched.
logicalName - The logical name of the attribute.
value -
Throws:
WTException

getAttributeTypeSummary

public static AttributeTypeSummary getAttributeTypeSummary(com.infoengine.object.factory.Element ieElement,
                                                           String logicalName)
Deprecated. 
Gets a atribute type summary of the attribute specified by it's logical name, from the given I*E element.

Supported API: true

Parameters:
ieElement - The I*E element whose attribute is searched.
logicalName - The logical name of the attribute.
Returns:
AttributeTypeSummary

stringToObject

public static Object stringToObject(String str,
                                    String objectType,
                                    CoEnvData envData)
                             throws WTException
Deprecated. 


Supported API: true

Parameters:
str -
type -
envData -
Returns:
Object
Throws:
WTException