Package org.djutils.metadata
Class ObjectDescriptor
java.lang.Object
org.djutils.metadata.ObjectDescriptor
- All Implemented Interfaces:
Serializable
ObjectDescriptor: wrapper for name, description and class of one object.
Copyright (c) 2020-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.
Copyright (c) 2020-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.
- Author:
- Alexander Verbraeck, Peter Knoppers
- See Also:
-
Constructor Summary
ConstructorDescriptionObjectDescriptor
(String name, String description, Class<?> objectClass) Construct a new FieldDescription object. -
Method Summary
-
Constructor Details
-
ObjectDescriptor
Construct a new FieldDescription object.- Parameters:
name
- String; name of the objectdescription
- String; description of the objectobjectClass
- Class<?>; class of the object
-
-
Method Details
-
getName
Retrieve the name of the object.- Returns:
- String; description of the object
-
getDescription
Retrieve the description of the object.- Returns:
- String; description of the object
-
getObjectClass
Retrieve the Class of the object.- Returns:
- String; class name of the object
-
hashCode
public int hashCode() -
equals
-
toString
-