AnyLogic
Expand
Font size
Record Components:
objectName - OM element name for bound element
innerUsdPath - USD prim path inside scene for exising prim (absolute "/World/path/prim" or relative "/path/prim")
modelUsdPath - USD scene path for new prim ("omniverse://localhost/path/file.usd")
parent - parent AOC name for OM element
fieldName - generated field name for OM element
packageName - element model java package name
autogenerated - true if element is Object3D bound to autogenerated scene, else false
Enclosing class:
UsdContext

@AnyLogicInternalAPI
public static record UsdContext.UsdItem(String objectName, String innerUsdPath, String modelUsdPath, String parent, String fieldName, String packageName, boolean autogenerated)
extends Record
Binding for OM element to USD prim

Constructor Summary

ConstructorDescription
UsdItem(String objectName, String innerUsdPath, String modelUsdPath, String parent, String fieldName, String packageName, boolean autogenerated)
Creates an instance of a UsdItem record class.

Method Summary

Modifier and TypeMethodDescription
booleanautogenerated()
Returns the value of the autogenerated record component.
final booleanequals(Object o)
Indicates whether some other object is "equal to" this one.
StringfieldName()
Returns the value of the fieldName record component.
StringgetFullPath() 
final inthashCode()
Returns a hash code value for this object.
StringinnerUsdPath()
Returns the value of the innerUsdPath record component.
StringmodelUsdPath()
Returns the value of the modelUsdPath record component.
StringobjectName()
Returns the value of the objectName record component.
StringpackageName()
Returns the value of the packageName record component.
Stringparent()
Returns the value of the parent record component.
final StringtoString()
Returns a string representation of this record class.

Methods inherited from class java.lang.Object

getClass, notify, notifyAll, wait, wait, wait

Constructor Details

UsdItem

public UsdItem(String objectName,
 String innerUsdPath,
 String modelUsdPath,
 String parent,
 String fieldName,
 String packageName,
 boolean autogenerated)
Creates an instance of a UsdItem record class.
Parameters:
objectName - the value for the objectName record component
innerUsdPath - the value for the innerUsdPath record component
modelUsdPath - the value for the modelUsdPath record component
parent - the value for the parent record component
fieldName - the value for the fieldName record component
packageName - the value for the packageName record component
autogenerated - the value for the autogenerated record component

Method Details

getFullPath

public String getFullPath()

toString

public final String 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.
Specified by:
toString in class Record
Returns:
a string representation of this object

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.
Specified by:
hashCode in class Record
Returns:
a hash code value for this object

equals

public final boolean equals(Object o)
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 with Objects::equals(Object,Object); primitive components are compared with '=='.
Specified by:
equals in class Record
Parameters:
o - the object with which to compare
Returns:
true if this object is the same as the o argument; false otherwise.

objectName

public String objectName()
Returns the value of the objectName record component.
Returns:
the value of the objectName record component

innerUsdPath

public String innerUsdPath()
Returns the value of the innerUsdPath record component.
Returns:
the value of the innerUsdPath record component

modelUsdPath

public String modelUsdPath()
Returns the value of the modelUsdPath record component.
Returns:
the value of the modelUsdPath record component

parent

public String parent()
Returns the value of the parent record component.
Returns:
the value of the parent record component

fieldName

public String fieldName()
Returns the value of the fieldName record component.
Returns:
the value of the fieldName record component

packageName

public String packageName()
Returns the value of the packageName record component.
Returns:
the value of the packageName record component

autogenerated

public boolean autogenerated()
Returns the value of the autogenerated record component.
Returns:
the value of the autogenerated record component