Record Class StructuralLoadPath.AppliedLoad
java.lang.Object
java.lang.Record
org.episteme.social.architecture.StructuralLoadPath.AppliedLoad
- All Implemented Interfaces:
Serializable
- Enclosing class:
StructuralLoadPath
public static record StructuralLoadPath.AppliedLoad(String id, double x, double y, double z, double forceX, double forceY, double forceZ, double momentX, double momentY, double momentZ)
extends Record
implements Serializable
Represents a localized force or moment applied to the structure.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAppliedLoad(String id, double x, double y, double z, double forceX, double forceY, double forceZ, double momentX, double momentY, double momentZ) Creates an instance of aAppliedLoadrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.doubleforceX()Returns the value of theforceXrecord component.doubleforceY()Returns the value of theforceYrecord component.doubleforceZ()Returns the value of theforceZrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.doublemomentX()Returns the value of themomentXrecord component.doublemomentY()Returns the value of themomentYrecord component.doublemomentZ()Returns the value of themomentZrecord component.final StringtoString()Returns a string representation of this record class.doublex()Returns the value of thexrecord component.doubley()Returns the value of theyrecord component.doublez()Returns the value of thezrecord component.
-
Constructor Details
-
AppliedLoad
public AppliedLoad(String id, double x, double y, double z, double forceX, double forceY, double forceZ, double momentX, double momentY, double momentZ) Creates an instance of aAppliedLoadrecord class.- Parameters:
id- the value for theidrecord componentx- the value for thexrecord componenty- the value for theyrecord componentz- the value for thezrecord componentforceX- the value for theforceXrecord componentforceY- the value for theforceYrecord componentforceZ- the value for theforceZrecord componentmomentX- the value for themomentXrecord componentmomentY- the value for themomentYrecord componentmomentZ- the value for themomentZrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
x
public double x()Returns the value of thexrecord component.- Returns:
- the value of the
xrecord component
-
y
public double y()Returns the value of theyrecord component.- Returns:
- the value of the
yrecord component
-
z
public double z()Returns the value of thezrecord component.- Returns:
- the value of the
zrecord component
-
forceX
public double forceX()Returns the value of theforceXrecord component.- Returns:
- the value of the
forceXrecord component
-
forceY
public double forceY()Returns the value of theforceYrecord component.- Returns:
- the value of the
forceYrecord component
-
forceZ
public double forceZ()Returns the value of theforceZrecord component.- Returns:
- the value of the
forceZrecord component
-
momentX
public double momentX()Returns the value of themomentXrecord component.- Returns:
- the value of the
momentXrecord component
-
momentY
public double momentY()Returns the value of themomentYrecord component.- Returns:
- the value of the
momentYrecord component
-
momentZ
public double momentZ()Returns the value of themomentZrecord component.- Returns:
- the value of the
momentZrecord component
-