Package net.anotheria.asg.generator.meta
Class MetaLink
- java.lang.Object
-
- net.anotheria.asg.generator.meta.MetaProperty
-
- net.anotheria.asg.generator.meta.MetaLink
-
- All Implemented Interfaces:
java.lang.Cloneable
public class MetaLink extends MetaProperty
Representation of an internal link to another document.- Version:
- $Id: $Id
- Author:
- another
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.anotheria.asg.generator.meta.MetaProperty
MetaProperty.Type
-
-
Constructor Summary
Constructors Constructor Description MetaLink(java.lang.String name)Constructor for MetaLink.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandoesTargetMatch(MetaDocument document)doesTargetMatch.booleandoesTargetMath(MetaModule module, MetaDocument document)doesTargetMath.java.util.List<java.lang.String>getLinkDecoration()Getter for the fieldlinkDecoration.java.lang.StringgetLinkTarget()Getter for the fieldlinkTarget.java.lang.StringgetLinkType()Getter for the fieldlinkType.java.lang.StringgetTargetDocumentName()getTargetDocumentName.java.lang.StringgetTargetModuleName()getTargetModuleName.booleanisLinked()isLinked.booleanisRelative()isRelative.voidsetLinkDecoration(java.util.List<java.lang.String> linkDecoration)Setter for the fieldlinkDecoration.voidsetLinkTarget(java.lang.String string)Setter for the fieldlinkTarget.voidsetLinkType(java.lang.String string)Setter for the fieldlinkType.java.lang.StringtoNameConstant()toNameConstant.-
Methods inherited from class net.anotheria.asg.generator.meta.MetaProperty
clone, getAccesserName, getAccesserName, getMetaType, getName, getName, getName, getType, isMultilingual, isReadonly, setMultilingual, setName, setReadonly, toBeanGetter, toBeanGetter, toBeanSetter, toBeanSetter, toGetter, toGetter, toJavaErasedType, toJavaObjectType, toJavaType, toNameConstant, toPropertyGetter, toPropertySetter, toSetter, toSetter, toString
-
-
-
-
Method Detail
-
getLinkTarget
public java.lang.String getLinkTarget()
Getter for the field
linkTarget.- Returns:
- a
Stringobject.
-
getLinkType
public java.lang.String getLinkType()
Getter for the field
linkType.- Returns:
- a
Stringobject.
-
setLinkTarget
public void setLinkTarget(java.lang.String string)
Setter for the field
linkTarget.- Parameters:
string- aStringobject.
-
setLinkType
public void setLinkType(java.lang.String string)
Setter for the field
linkType.- Parameters:
string- aStringobject.
-
toNameConstant
public java.lang.String toNameConstant()
toNameConstant.
- Overrides:
toNameConstantin classMetaProperty- Returns:
- a
Stringobject.
-
isLinked
public boolean isLinked()
isLinked.
- Overrides:
isLinkedin classMetaProperty- Returns:
- a boolean.
-
getTargetModuleName
public java.lang.String getTargetModuleName()
getTargetModuleName.
- Returns:
- a
Stringobject.
-
getTargetDocumentName
public java.lang.String getTargetDocumentName()
getTargetDocumentName.
- Returns:
- a
Stringobject.
-
doesTargetMatch
public boolean doesTargetMatch(MetaDocument document)
doesTargetMatch.
- Parameters:
document- aMetaDocumentobject.- Returns:
- a boolean.
-
doesTargetMath
public boolean doesTargetMath(MetaModule module, MetaDocument document)
doesTargetMath.
- Parameters:
module- aMetaModuleobject.document- aMetaDocumentobject.- Returns:
- a boolean.
-
isRelative
public boolean isRelative()
isRelative.
- Returns:
- a boolean.
-
getLinkDecoration
public java.util.List<java.lang.String> getLinkDecoration()
Getter for the field
linkDecoration.- Returns:
- a
Listobject.
-
setLinkDecoration
public void setLinkDecoration(java.util.List<java.lang.String> linkDecoration)
Setter for the field
linkDecoration.- Parameters:
linkDecoration- aListobject.
-
-