Package dev.turboism.sdk.cubism.model
Record Class ModelImageGroupRelation
java.lang.Object
java.lang.Record
dev.turboism.sdk.cubism.model.ModelImageGroupRelation
@CubismEditor
public record ModelImageGroupRelation(ModelImageGroup group, List<ModelImageId> modelImageIds, List<RawImageId> linkedRawImageIds, Optional<Boolean> projectTreeVisible)
extends Record
Immutable group projection; intentionally has no fabricated group GUID.
-
Constructor Summary
ConstructorsConstructorDescriptionModelImageGroupRelation(ModelImageGroup group, List<ModelImageId> modelImageIds, List<RawImageId> linkedRawImageIds, Optional<Boolean> projectTreeVisible) Creates an instance of aModelImageGroupRelationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.group()Returns the value of thegrouprecord component.Returns the group's display name, not a stable resource identity.final inthashCode()Returns a hash code value for this object.Returns the value of thelinkedRawImageIdsrecord component.memo()Returns the memo captured in the group projection.Returns the value of themodelImageIdsrecord component.Returns the value of theprojectTreeVisiblerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ModelImageGroupRelation
public ModelImageGroupRelation(ModelImageGroup group, List<ModelImageId> modelImageIds, List<RawImageId> linkedRawImageIds, Optional<Boolean> projectTreeVisible) Creates an instance of aModelImageGroupRelationrecord class.- Parameters:
group- the value for thegrouprecord componentmodelImageIds- the value for themodelImageIdsrecord componentlinkedRawImageIds- the value for thelinkedRawImageIdsrecord componentprojectTreeVisible- the value for theprojectTreeVisiblerecord component
-
-
Method Details
-
groupName
Returns the group's display name, not a stable resource identity. -
memo
Returns the memo captured in the group projection. -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
group
Returns the value of thegrouprecord component.- Returns:
- the value of the
grouprecord component
-
modelImageIds
Returns the value of themodelImageIdsrecord component.- Returns:
- the value of the
modelImageIdsrecord component
-
linkedRawImageIds
Returns the value of thelinkedRawImageIdsrecord component.- Returns:
- the value of the
linkedRawImageIdsrecord component
-
projectTreeVisible
Returns the value of theprojectTreeVisiblerecord component.- Returns:
- the value of the
projectTreeVisiblerecord component
-