Package com.yworks.yshrink.ant
Class FieldSection
- java.lang.Object
-
- com.yworks.common.ant.PatternMatchedSection
-
- com.yworks.yshrink.ant.FieldSection
-
public class FieldSection extends PatternMatchedSection
The type Field section.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.yworks.common.ant.PatternMatchedSection
PatternMatchedSection.Access
-
-
Field Summary
-
Fields inherited from class com.yworks.common.ant.PatternMatchedSection
patternSets, types
-
-
Constructor Summary
Constructors Constructor Description FieldSection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypePatternSetcreatePatternSet()Create pattern set type pattern set.java.lang.StringgetClassName()Gets class name.java.lang.StringgetName()Gets name.java.lang.StringgetType()Gets type.protected TypePatternSetnewTypePatternSet()Instantiates a type pattern set, subclasses may provide custom implementations.voidsetClass(java.lang.String className)Sets class.voidsetName(java.lang.String name)Sets name.voidsetType(java.lang.String type)Sets type.-
Methods inherited from class com.yworks.common.ant.PatternMatchedSection
accessValue, addPatternSet, getAccess, getPatternSet, setAccess
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets name.- Returns:
- the name
-
setName
public void setName(java.lang.String name)
Sets name.- Parameters:
name- the name
-
getClassName
public java.lang.String getClassName()
Gets class name.- Returns:
- the class name
-
setClass
public void setClass(java.lang.String className)
Sets class.- Parameters:
className- the class name
-
getType
public java.lang.String getType()
Gets type.- Returns:
- the type
-
setType
public void setType(java.lang.String type)
Sets type.- Parameters:
type- the type
-
createPatternSet
public TypePatternSet createPatternSet()
Description copied from class:PatternMatchedSectionCreate pattern set type pattern set.- Overrides:
createPatternSetin classPatternMatchedSection- Returns:
- the type pattern set
-
newTypePatternSet
protected TypePatternSet newTypePatternSet()
Instantiates a type pattern set, subclasses may provide custom implementations.- Returns:
- the new type pattern set
-
-