Skip to content

Commit

Permalink
MNEMONIC-832: EntityInfo Class Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
katarinaking committed Jun 15, 2024
1 parent 730c217 commit 95e20e4
Showing 1 changed file with 37 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,34 +16,71 @@
*/
package org.apache.mnemonic.query.memory;

/**
* The EntityInfo class represents metadata about an entity in the Mnemonic framework.
* It holds information about the entity's class name, entity name, and its attributes.
*/
public class EntityInfo {

// The fully qualified class name of the entity.
private String className;

// The name of the entity.
private String entityName;

// An array of AttributeInfo objects, representing the attributes of the entity.
private AttributeInfo[] attributeInfo;

/**
* Gets the class name of the entity.
*
* @return the class name as a String.
*/
public String getClassName() {
return className;
}

/**
* Sets the class name of the entity.
*
* @param className the class name to set.
*/
public void setClassName(String className) {
this.className = className;
}

/**
* Gets the name of the entity.
*
* @return the entity name as a String.
*/
public String getEntityName() {
return entityName;
}

/**
* Sets the name of the entity.
*
* @param entityName the entity name to set.
*/
public void setEntityName(String entityName) {
this.entityName = entityName;
}

/**
* Gets the array of AttributeInfo objects associated with the entity.
*
* @return an array of AttributeInfo objects.
*/
public AttributeInfo[] getAttributeInfo() {
return attributeInfo;
}

/**
* Sets the array of AttributeInfo objects for the entity.
*
* @param attributeInfo an array of AttributeInfo objects to set.
*/
public void setAttributeInfo(AttributeInfo[] attributeInfo) {
this.attributeInfo = attributeInfo;
}
Expand Down

0 comments on commit 95e20e4

Please sign in to comment.