Interface IPropertyDefinitionGroup
public interface IPropertyDefinitionGroup
A group of property definitions. Groups offer an additional way to separate properties stored
within a same namespace (PDM).
-
Method Summary
Modifier and TypeMethodDescriptiondefault IPropertyDefinition
addDefinition
(String name, IPropertyType type) Add a definition to the group.default IPropertyDefinition
addDefinition
(String name, IPropertyType type, String description) Add a definition to the group.addDefinition
(String name, IPropertyType type, String description, int flags) Add a definition to the group.Retrieve the definitions stored in the group.getName()
Retrieve the group name.default boolean
void
removeDefinition
(String name) Remove a definition from the group.
-
Method Details
-
isDefaultGroup
default boolean isDefaultGroup() -
getName
String getName()Retrieve the group name. A PDM's properties are stored in the default group by default, which is the anonymous (empty name) group.- Returns:
-
getDefinitions
List<IPropertyDefinition> getDefinitions()Retrieve the definitions stored in the group.- Returns:
-
addDefinition
Add a definition to the group.- Parameters:
name
-type
-- Returns:
-
addDefinition
Add a definition to the group.- Parameters:
name
-type
-description
-- Returns:
-
addDefinition
Add a definition to the group.- Parameters:
name
-type
-description
-flags
-- Returns:
-
removeDefinition
Remove a definition from the group.- Parameters:
name
-
-