java.lang.Object
de.rpgframework.genericrpg.modification.Modification
Alle implementierten Schnittstellen:
Cloneable
Bekannte direkte Unterklassen:
CostModification, DataItemModification, ModificationChoice, ModificationGroup, RelevanceModification

public class Modification extends Object implements Cloneable
  • Felddetails

    • type

      @Attribute(required=false) protected ModifiedObjectType type
      What type of data is modified
    • apply

      @Attribute(required=false) protected ApplyTo apply
    • when

      @Attribute(required=false) protected ApplyWhen when
    • conditions

      @Attribute(name="cond", required=false) protected String conditions
    • source

      protected transient Object source
      If the modification belongs to a module, this keeps the reference
    • origin

      protected transient Modification.Origin origin
  • Konstruktordetails

    • Modification

      public Modification()
  • Methodendetails

    • clone

      public Modification clone()
      Setzt außer Kraft:
      clone in Klasse Object
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • getSource

      public Object getSource()
    • setSource

      public void setSource(Object src)
    • isConditional

      public boolean isConditional()
    • setConditionString

      public void setConditionString(String value)
    • getConditionString

      public String getConditionString()
    • getReferenceType

      public ModifiedObjectType getReferenceType()
      Gibt zurück:
      the type
    • getApplyTo

      public ApplyTo getApplyTo()
      Gibt zurück:
      the apply
    • setApplyTo

      public void setApplyTo(ApplyTo apply)
      Parameter:
      when - the when to set
    • getWhen

      public ApplyWhen getWhen()
      Gibt zurück:
      the when
    • setWhen

      public void setWhen(ApplyWhen when)
      Parameter:
      when - the when to set
    • validate

      public void validate() throws ReferenceException
      Validate content in this modification during load
      Löst aus:
      ReferenceException
    • getOrigin

      public Modification.Origin getOrigin()
    • setOrigin

      public <T extends Modification> T setOrigin(Modification.Origin origin)