Package org.opentcs.data.model
Class Group
java.lang.Object
- All Implemented Interfaces:
java.io.Serializable
@Deprecated @ScheduledApiChange(details="Will be removed.", when="6.0") public class Group extends TCSObject<Group> implements java.io.Serializable
Deprecated.
Will be removed.
An aggregation of model elements.
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Group(java.lang.String name)
Deprecated.Creates a new, empty group. -
Method Summary
Modifier and Type Method Description java.util.Set<TCSObjectReference<?>>
getMembers()
Deprecated.Returns an unmodifiable set of all members of this group.TCSObject<Group>
withHistory(ObjectHistory history)
Deprecated.Creates a copy of this object, with the given history.TCSObject<Group>
withHistoryEntry(ObjectHistory.Entry entry)
Deprecated.Creates a copy of this object, with the given history entry integrated.Group
withMembers(java.util.Set<TCSObjectReference<?>> members)
Deprecated.Creates a copy of this object, with the given members.Group
withProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Deprecated.Creates a copy of this object, with the given properties.Group
withProperty(java.lang.String key, java.lang.String value)
Deprecated.Creates a copy of this object, with the given property integrated.Methods inherited from class org.opentcs.data.TCSObject
equals, getHistory, getName, getProperties, getProperty, getReference, hashCode, listWithoutNullValues, mapWithoutNullValues, propertiesWith, setWithoutNullValues, toString
-
Constructor Details
-
Group
public Group(java.lang.String name)Deprecated.Creates a new, empty group.- Parameters:
name
- This group's name.
-
-
Method Details
-
withProperty
Deprecated.Description copied from class:TCSObject
Creates a copy of this object, with the given property integrated.- Specified by:
withProperty
in classTCSObject<Group>
- Parameters:
key
- The key of the property to be changed.value
- The new value of the property, ornull
, if the property is to be removed.- Returns:
- A copy of this object, with the given property integrated.
-
withProperties
Deprecated.Description copied from class:TCSObject
Creates a copy of this object, with the given properties.- Specified by:
withProperties
in classTCSObject<Group>
- Parameters:
properties
- The properties.- Returns:
- A copy of this object, with the given properties.
-
withHistoryEntry
Deprecated.Description copied from class:TCSObject
Creates a copy of this object, with the given history entry integrated.- Specified by:
withHistoryEntry
in classTCSObject<Group>
- Parameters:
entry
- The history entry to be integrated.- Returns:
- A copy of this object, with the given history entry integrated.
-
withHistory
Deprecated.Description copied from class:TCSObject
Creates a copy of this object, with the given history.- Specified by:
withHistory
in classTCSObject<Group>
- Parameters:
history
- The history.- Returns:
- A copy of this object, with the given history.
-
getMembers
Deprecated.Returns an unmodifiable set of all members of this group.- Returns:
- An unmodifiable set of all members of this group.
-
withMembers
Deprecated.Creates a copy of this object, with the given members.- Parameters:
members
- The value to be set in the copy.- Returns:
- A copy of this object, differing in the given value.
-