Class Factor
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.isa4j.components.Factor
-
- All Implemented Interfaces:
Commentable
public class Factor extends java.lang.Object implements Commentable
-
-
Constructor Summary
Constructors Constructor Description Factor(java.lang.String name)Factor(java.lang.String name, OntologyAnnotation type)
-
Method Summary
Modifier and Type Method Description CommentCollectioncomments()java.lang.StringgetName()OntologyAnnotationgetType()GetOntologyAnnotationfor the type of theFactorvoidsetName(java.lang.String name)voidsetType(OntologyAnnotation type)SetOntologyAnnotationof theFactortypejava.lang.StringtoString()
-
-
-
Constructor Detail
-
Factor
public Factor(java.lang.String name)
-
Factor
public Factor(java.lang.String name, OntologyAnnotation type)
-
-
Method Detail
-
comments
public CommentCollection comments()
- Specified by:
commentsin interfaceCommentable
-
getName
public java.lang.String getName()
- Returns:
- the name
-
getType
public OntologyAnnotation getType()
GetOntologyAnnotationfor the type of theFactor- Returns:
- the
OntologyAnnotationfor the type of thisFactor
-
setName
public void setName(java.lang.String name)
- Parameters:
name- the name to set
-
setType
public void setType(OntologyAnnotation type)
SetOntologyAnnotationof theFactortype- Parameters:
type-OntologyAnnotationof theFactortype
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-