diff --git a/sources/PropertyTree/AbstractProperty.php b/sources/PropertyTree/AbstractProperty.php new file mode 100644 index 000000000..f91b8f87f --- /dev/null +++ b/sources/PropertyTree/AbstractProperty.php @@ -0,0 +1,26 @@ +oValueType; + } + + public function SetValueType(AbstractValueType $oValueType): void + { + $this->oValueType = $oValueType; + } + +} diff --git a/sources/PropertyTree/CollectionOfTrees.php b/sources/PropertyTree/CollectionOfTrees.php index 290b8832a..6cb4c70c4 100644 --- a/sources/PropertyTree/CollectionOfTrees.php +++ b/sources/PropertyTree/CollectionOfTrees.php @@ -7,6 +7,6 @@ namespace Combodo\iTop\PropertyTree; -class CollectionOfTrees +class CollectionOfTrees extends AbstractProperty { } diff --git a/sources/PropertyTree/CollectionOfValues.php b/sources/PropertyTree/CollectionOfValues.php index 54d31cc76..e0c82dd5b 100644 --- a/sources/PropertyTree/CollectionOfValues.php +++ b/sources/PropertyTree/CollectionOfValues.php @@ -7,6 +7,6 @@ namespace Combodo\iTop\PropertyTree; -class CollectionOfValues +class CollectionOfValues extends AbstractProperty { } diff --git a/sources/PropertyTree/Property.php b/sources/PropertyTree/Property.php index 333fe6543..0c7632784 100644 --- a/sources/PropertyTree/Property.php +++ b/sources/PropertyTree/Property.php @@ -7,6 +7,6 @@ namespace Combodo\iTop\PropertyTree; -class Property +class Property extends AbstractProperty { } diff --git a/sources/PropertyTree/PropertyTree.php b/sources/PropertyTree/PropertyTree.php index 18a11582c..592e73eb2 100644 --- a/sources/PropertyTree/PropertyTree.php +++ b/sources/PropertyTree/PropertyTree.php @@ -7,6 +7,6 @@ namespace Combodo\iTop\PropertyTree; -class PropertyTree +class PropertyTree extends AbstractProperty { } diff --git a/sources/PropertyTree/ValueType/AbstractValueType.php b/sources/PropertyTree/ValueType/AbstractValueType.php new file mode 100644 index 000000000..e91bfd52e --- /dev/null +++ b/sources/PropertyTree/ValueType/AbstractValueType.php @@ -0,0 +1,12 @@ +