Record Class XdtoPackageData
java.lang.Object
java.lang.Record
com.github._1c_syntax.bsl.mdo.storage.XdtoPackageData
- Record Components:
targetNamespace- Пространство имен пакетаimports- Список импортов пакетаvalueTypes- Список типов значенийobjectTypes- Список типов объектовproperties- Список глобальных атрибутов
public record XdtoPackageData(@NonNull String targetNamespace, @NonNull List<String> imports, @NonNull List<XdtoPackageData.ValueType> valueTypes, @NonNull List<XdtoPackageData.ObjectType> objectTypes, @NonNull List<XdtoPackageData.Property> properties)
extends Record
Хранилище данных XSD схемы пакета
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final recordstatic class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionXdtoPackageData(@NonNull String targetNamespace, @NonNull List<String> imports, @NonNull List<XdtoPackageData.ValueType> valueTypes, @NonNull List<XdtoPackageData.ObjectType> objectTypes, @NonNull List<XdtoPackageData.Property> properties) Creates an instance of aXdtoPackageDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.imports()Returns the value of theimportsrecord component.Returns the value of theobjectTypesrecord component.Returns the value of thepropertiesrecord component.Returns the value of thetargetNamespacerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevalueTypesrecord component.
-
Field Details
-
EMPTY
-
-
Constructor Details
-
XdtoPackageData
public XdtoPackageData(@NonNull @NonNull String targetNamespace, @NonNull @NonNull List<String> imports, @NonNull @NonNull List<XdtoPackageData.ValueType> valueTypes, @NonNull @NonNull List<XdtoPackageData.ObjectType> objectTypes, @NonNull @NonNull List<XdtoPackageData.Property> properties) Creates an instance of aXdtoPackageDatarecord class.- Parameters:
targetNamespace- the value for thetargetNamespacerecord componentimports- the value for theimportsrecord componentvalueTypes- the value for thevalueTypesrecord componentobjectTypes- the value for theobjectTypesrecord componentproperties- the value for thepropertiesrecord component
-
-
Method Details
-
builder
-
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). -
targetNamespace
Returns the value of thetargetNamespacerecord component.- Returns:
- the value of the
targetNamespacerecord component
-
imports
Returns the value of theimportsrecord component.- Returns:
- the value of the
importsrecord component
-
valueTypes
Returns the value of thevalueTypesrecord component.- Returns:
- the value of the
valueTypesrecord component
-
objectTypes
Returns the value of theobjectTypesrecord component.- Returns:
- the value of the
objectTypesrecord component
-
properties
Returns the value of thepropertiesrecord component.- Returns:
- the value of the
propertiesrecord component
-