Package overit.geocall.edm.model
Class DataEntityImpl
java.lang.Object
overit.geocall.edm.model.DataEntityImpl
- All Implemented Interfaces:
DataEntity
A class representing an implementation of the DataEntity interface.
-
Constructor Summary
ConstructorsConstructorDescriptionDataEntityImpl(Company company, Entity model, Date loadDate, Set<DataAttribute> attributes) Constructor forDataEntityImpl. -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the attributes associated with the data entity.getBaseAttribute(String name) Retrieves theBaseDataAttributewith the specifiedname, if present.Returns theCompanyassociated with thisDataEntity.Retrieves the load date of the data entity.getModel()Retrieves the model associated with the data entity.getName()Retrieves the name of the data entity.inthashCode()voidsetIndexes(List<Index> indexes) Sets the providedindexes.toString()
-
Constructor Details
-
DataEntityImpl
Constructor forDataEntityImpl.- Parameters:
company- the associatedCompany.model- the associatedEntity.loadDate- the load date of the data entity.attributes- the set ofDataAttributes associated with the data entity.
-
-
Method Details
-
getName
Description copied from interface:DataEntityRetrieves the name of the data entity.- Specified by:
getNamein interfaceDataEntity- Returns:
- The name of the entity.
-
getLoadDate
Description copied from interface:DataEntityRetrieves the load date of the data entity.- Specified by:
getLoadDatein interfaceDataEntity- Returns:
- The load date of the entity.
-
getModel
Description copied from interface:DataEntityRetrieves the model associated with the data entity.- Specified by:
getModelin interfaceDataEntity- Returns:
- The model of the entity.
-
getCompany
Description copied from interface:DataEntityReturns theCompanyassociated with thisDataEntity.- Specified by:
getCompanyin interfaceDataEntity- Returns:
- the
Companyassociated with thisDataEntity.
-
getAttributes
Description copied from interface:DataEntityRetrieves the attributes associated with the data entity.- Specified by:
getAttributesin interfaceDataEntity- Returns:
- The set of attributes of the entity.
-
getBaseAttribute
Description copied from interface:DataEntityRetrieves theBaseDataAttributewith the specifiedname, if present.- Specified by:
getBaseAttributein interfaceDataEntity- Parameters:
name- The name of the attribute to retrieve.- Returns:
- the
BaseDataAttributewith the specifiedname, ornullif not found.
-
getIndexes
Description copied from interface:DataEntity- Specified by:
getIndexesin interfaceDataEntity- Returns:
- a
List<Index> about the indexes associated to the relatedEntity.
-
setIndexes
Description copied from interface:DataEntitySets the providedindexes.- Specified by:
setIndexesin interfaceDataEntity- Parameters:
indexes-List<Index> about the indexes to be set.
-
equals
-
hashCode
public int hashCode() -
toString
-