Record Class XdtoPackageData.Property
java.lang.Object
java.lang.Record
com.github._1c_syntax.bsl.mdo.storage.XdtoPackageData.Property
- Record Components:
name- Имя атрибутаtype- Тип атрибутаlowerBound- Минимальное количество атрибутов (для множественных)upperBound- Максимальное количество атрибутов (для множественных)nillable- Возможность принимать NULLform- Имя формыtypeDef- Свойства поля
- Enclosing class:
- XdtoPackageData
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanIndicates whether some other object is "equal to" this one.form()Returns the value of theformrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of thelowerBoundrecord component.name()Returns the value of thenamerecord component.booleannillable()Returns the value of thenillablerecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.typeDef()Returns the value of thetypeDefrecord component.intReturns the value of theupperBoundrecord component.
-
Constructor Details
-
Property
public Property(@NonNull @NonNull String name, @NonNull @NonNull String type, int lowerBound, int upperBound, boolean nillable, @NonNull @NonNull String form, @NonNull @NonNull List<XdtoPackageData.Property> typeDef) Creates an instance of aPropertyrecord class.- Parameters:
name- the value for thenamerecord componenttype- the value for thetyperecord componentlowerBound- the value for thelowerBoundrecord componentupperBound- the value for theupperBoundrecord componentnillable- the value for thenillablerecord componentform- the value for theformrecord componenttypeDef- the value for thetypeDefrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
lowerBound
public int lowerBound()Returns the value of thelowerBoundrecord component.- Returns:
- the value of the
lowerBoundrecord component
-
upperBound
public int upperBound()Returns the value of theupperBoundrecord component.- Returns:
- the value of the
upperBoundrecord component
-
nillable
public boolean nillable()Returns the value of thenillablerecord component.- Returns:
- the value of the
nillablerecord component
-
form
Returns the value of theformrecord component.- Returns:
- the value of the
formrecord component
-
typeDef
Returns the value of thetypeDefrecord component.- Returns:
- the value of the
typeDefrecord component
-