Package com.kscs.util.jaxb
Schnittstelle PartialCopyable<T extends PartialCopyable<T>>
public interface PartialCopyable<T extends PartialCopyable<T>>
Contract for objects that can be copied partially,
i.e. by explicitly excluding or including specified
branches of the object tree.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcopyExcept(PropertyTree propertyTree) Clones this instances partially, the parts to be EXCLUDED will be defined by propertyTreecopyOnly(PropertyTree propertyTree) Clones this instances partially, the parts to be INCLUDED will be defined by propertyTree, all other parts will be excluded.createCopy(PropertyTree propertyTree, PropertyTreeUse propertyTreeUse) Clones this instances partially, the parts will be defined by propertyTree
-
Methodendetails
-
createCopy
Clones this instances partially, the parts will be defined by propertyTree- Parameter:
propertyTree- Defines which parts of the object tree will be cloned or excludedpropertyTreeUse- Defines how the clone graph will be used: To include or to exclude properties.- Gibt zurück:
- A copy of the original object.
-
copyExcept
Clones this instances partially, the parts to be EXCLUDED will be defined by propertyTree- Parameter:
propertyTree- Defines which parts of the object tree will be excluded- Gibt zurück:
- A copy of the original object.
-
copyOnly
Clones this instances partially, the parts to be INCLUDED will be defined by propertyTree, all other parts will be excluded.- Parameter:
propertyTree- Defines which parts of the object tree will be included in the clone- Gibt zurück:
- A copy of the original object.
-