net.anotheria.asg.generator.util.DirectLink Maven / Gradle / Ivy
package net.anotheria.asg.generator.util;
import net.anotheria.asg.generator.meta.MetaDocument;
import net.anotheria.asg.generator.meta.MetaLink;
import net.anotheria.asg.generator.meta.MetaModule;
/**
* A link to a target document.
*
* @author lrosenberg
* @version $Id: $Id
*/
public class DirectLink {
/**
* Source module.
*/
private MetaModule module;
/**
* Source document.
*/
private MetaDocument document;
/**
* Link in the source document.
*/
private MetaLink property;
/**
* Constructor for DirectLink.
*/
public DirectLink(){
}
/**
* Constructor for DirectLink.
*
* @param aModule a {@link net.anotheria.asg.generator.meta.MetaModule} object.
* @param aDocument a {@link net.anotheria.asg.generator.meta.MetaDocument} object.
* @param aProperty a {@link net.anotheria.asg.generator.meta.MetaLink} object.
*/
public DirectLink(MetaModule aModule, MetaDocument aDocument, MetaLink aProperty){
module = aModule;
document = aDocument;
property = aProperty;
}
/**
* Getter for the field module
.
*
* @return a {@link net.anotheria.asg.generator.meta.MetaModule} object.
*/
public MetaModule getModule() {
return module;
}
/**
* Setter for the field module
.
*
* @param module a {@link net.anotheria.asg.generator.meta.MetaModule} object.
*/
public void setModule(MetaModule module) {
this.module = module;
}
/**
* Getter for the field document
.
*
* @return a {@link net.anotheria.asg.generator.meta.MetaDocument} object.
*/
public MetaDocument getDocument() {
return document;
}
/**
* Setter for the field document
.
*
* @param document a {@link net.anotheria.asg.generator.meta.MetaDocument} object.
*/
public void setDocument(MetaDocument document) {
this.document = document;
}
/**
* Getter for the field property
.
*
* @return a {@link net.anotheria.asg.generator.meta.MetaLink} object.
*/
public MetaLink getProperty() {
return property;
}
/**
* Setter for the field property
.
*
* @param property a {@link net.anotheria.asg.generator.meta.MetaLink} object.
*/
public void setProperty(MetaLink property) {
this.property = property;
}
}