Record Class StoreSync.Identity
java.lang.Object
java.lang.Record
org.bgerp.plugin.inventoru.sync1c.service.StoreSync.Identity
- Enclosing class:
StoreSync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.guid()Returns the value of theguidrecord component.booleanhasGuid()OData filters by GUID and takes nothing else.final inthashCode()Returns a hash code value for this object.booleanhasName()HS asks for stocks by name.location()Returns the value of thelocationrecord component.name()Returns the value of thenamerecord component.intstoreId()Returns the value of thestoreIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Identity
Creates an instance of aIdentityrecord class.- Parameters:
storeId- the value for thestoreIdrecord componentguid- the value for theguidrecord componentname- the value for thenamerecord componentlocation- the value for thelocationrecord component
-
-
Method Details
-
hasGuid
public boolean hasGuid()OData filters by GUID and takes nothing else. -
hasName
public boolean hasName()HS asks for stocks by name. -
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. -
storeId
public int storeId()Returns the value of thestoreIdrecord component.- Returns:
- the value of the
storeIdrecord component
-
guid
Returns the value of theguidrecord component.- Returns:
- the value of the
guidrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
location
Returns the value of thelocationrecord component.- Returns:
- the value of the
locationrecord component
-