Method Summary |
|
void | collectAllComponentReferences(Collection<DesignComponent> references) |
public static PropertyValue | createArray(TypeID componentType, List<PropertyValue> array) Creates a property value representing an array value. |
public static PropertyValue | createComponentReference(DesignComponent component) Creates a new property value representing a component reference. |
static PropertyValue | createComponentReferenceCore(DesignComponent component) |
public static PropertyValue | createEmptyArray(TypeID componentType) Create a property value representng an empty array value. |
public static PropertyValue | createEnumValue(EnumDescriptor descriptor, TypeID type, Object value) Creates a property value representing a enum value. |
public static PropertyValue | createNull() Creates a new property value representing a null. |
public static PropertyValue | createUserCode(String userCode) Create a new property value representing a user code. |
public static PropertyValue | createValue(PrimitiveDescriptor descriptor, TypeID type, Object value) Creates a property value representing a primitive value. |
public static PropertyValue | createValue(String projectType, TypeID type, Object value) Creates a property value representing a primitive or an enum value. |
public static PropertyValue | deserialize(String serialized, DesignDocument document, TypeID type) Creates a property value from the encoded string that represents the value. |
public List<PropertyValue> | getArray() Returns a list of property values. |
public DesignComponent | getComponent() Returns a component. |
public Kind | getKind() Returns a kind. |
public Object | getPrimitiveValue() Returns primitive or enum value (not component, not array). |
public TypeID | getType() Returns a type id. |
public String | getUserCode() Returns a user code. |
public boolean | isCompatible(TypeID requiredType) Returns whether the required type id is compatible with this type id. |
public boolean | isCompatible(PropertyDescriptor propertyDescriptor) Returns whether the property value is compatible with a specified property descriptor. |
public String | serialize() Returns an encoded string of the property value. |
public String | toString() Returns the encoded string. |