Record Class ModelElement.Unsupported
java.lang.Object
java.lang.Record
kr.toxicity.model.api.data.raw.ModelElement.Unsupported
- Record Components:
type- the unsupported type string
- All Implemented Interfaces:
ModelElement
- Enclosing interface:
ModelElement
public static record ModelElement.Unsupported(@NotNull String type)
extends Record
implements ModelElement
Represents an unsupported element type.
- Since:
- 1.15.2
-
Nested Class Summary
Nested classes/interfaces inherited from interface ModelElement
ModelElement.Camera, ModelElement.Cube, ModelElement.Locator, ModelElement.Mesh, ModelElement.NullObject, ModelElement.Unsupported -
Field Summary
Fields inherited from interface ModelElement
CAMERA, CUBE, LOCATOR, MESH, NULL_OBJECT, PARSER -
Constructor Summary
ConstructorsConstructorDescriptionUnsupported(@NotNull String type) Creates an instance of aUnsupportedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanChecks if this element type is supported by the engine.@NotNull BlueprintElementConverts this raw element into a processedBlueprintElement.final StringtoString()Returns a string representation of this record class.@NotNull Stringtype()Returns the value of thetyperecord component.@NotNull Stringuuid()Returns the unique identifier (UUID) of this element.
-
Constructor Details
-
Unsupported
-
-
Method Details
-
uuid
Description copied from interface:ModelElementReturns the unique identifier (UUID) of this element.- Specified by:
uuidin interfaceModelElement- Returns:
- the UUID string
-
isSupported
public boolean isSupported()Description copied from interface:ModelElementChecks if this element type is supported by the engine.- Specified by:
isSupportedin interfaceModelElement- Returns:
- true if supported, false otherwise
-
toBlueprint
Description copied from interface:ModelElementConverts this raw element into a processedBlueprintElement.- Specified by:
toBlueprintin interfaceModelElement- Returns:
- the blueprint element
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
type
Returns the value of thetyperecord component.- Specified by:
typein interfaceModelElement- Returns:
- the value of the
typerecord component
-