Package overit.geocall.edm.model
Record Class StaticDataAttributeImpl
java.lang.Object
java.lang.Record
overit.geocall.edm.model.StaticDataAttributeImpl
- Record Components:
name-Stringabout the name of thestatic columnof a table.table-Stringabout the name of thetablerelated to thisstatic data attribute.
- All Implemented Interfaces:
Serializable,BaseDataAttribute
public record StaticDataAttributeImpl(String name, String table)
extends Record
implements BaseDataAttribute
BaseDataAttribute implementation about a static data attribute, i.e. a data attribute related to a static column of a table.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStaticDataAttributeImpl(String name, String table) Creates an instance of aStaticDataAttributeImplrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns aStringabout the full data attribute name, i.e.getName()Retrieves the name of the data attribute.getTable()overit.geocall.edm.model.datatypes.DataType<?, ?> getType()Retrieves the data type of the attribute.final inthashCode()Returns a hash code value for this object.booleanisStatic()name()Returns the value of thenamerecord component.table()Returns the value of thetablerecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface overit.geocall.edm.model.BaseDataAttribute
isExtended
-
Constructor Details
-
Method Details
-
getName
Description copied from interface:BaseDataAttributeRetrieves the name of the data attribute.- Specified by:
getNamein interfaceBaseDataAttribute- Returns:
- The name of the attribute.
-
getType
public overit.geocall.edm.model.datatypes.DataType<?,?> getType()Description copied from interface:BaseDataAttributeRetrieves the data type of the attribute.- Specified by:
getTypein interfaceBaseDataAttribute- Returns:
- The data type of the attribute.
-
isStatic
public boolean isStatic()Description copied from interface:BaseDataAttribute- Specified by:
isStaticin interfaceBaseDataAttribute- Returns:
truein case thisBaseDataAttributeis about astatic data attribute;falseotherwise.
-
getTable
- Returns:
Stringabout the name of thetablerelated to thisstatic data attribute.
-
getFullName
Description copied from interface:BaseDataAttributeReturns aStringabout the full data attribute name, i.e.<extension column>.BaseDataAttribute.getName()in case ofextended attribute, or<table>.BaseDataAttribute.getName()in case of {static data attribute}.- Specified by:
getFullNamein interfaceBaseDataAttribute- Returns:
- a
Stringabout the full data attribute name, i.e.<extension column>.BaseDataAttribute.getName()in case ofextended attribute, or<table>.BaseDataAttribute.getName()in case of {static data attribute}.
-
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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
table
Returns the value of thetablerecord component.- Returns:
- the value of the
tablerecord component
-