com.evento.application.reference.Reference Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of evento-bundle Show documentation
Show all versions of evento-bundle Show documentation
Evento Framework - Bundle. The library to build a RECQ System based on Evento Server
The newest version!
package com.evento.application.reference;
import lombok.Getter;
/**
* The Reference class is an abstract class that serves as a base class for managing references to objects.
* It provides functionality for retrieving the component name of the referenced object.
*/
@Getter
public abstract class Reference {
private final Object ref;
protected Reference(Object ref) {
this.ref = ref;
}
/**
* Retrieves the component name of the referenced object.
* @return the component name of the referenced object
*/
public String getComponentName() {
return ref.getClass().getSimpleName();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy