de.interactive_instruments.ShapeChange.Transformation.Profiling
Class ProfileVersionIndicator

java.lang.Object
  extended by de.interactive_instruments.ShapeChange.Transformation.Profiling.ProfileVersionIndicator

public class ProfileVersionIndicator
extends Object

Author:
Johannes Echterhoff (echterhoff interactive-instruments de)

Constructor Summary
ProfileVersionIndicator(List<VersionRange> versionInfos)
           
 
Method Summary
 boolean contains(ProfileVersionIndicator other, StringBuffer sb)
           
 List<VersionRange> getVersionInfos()
           
static ProfileVersionIndicator parse(String versionInformation, String identifierName, String ownerName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProfileVersionIndicator

public ProfileVersionIndicator(List<VersionRange> versionInfos)
Method Detail

parse

public static ProfileVersionIndicator parse(String versionInformation,
                                            String identifierName,
                                            String ownerName)
                                     throws MalformedProfileIdentifierException
Parameters:
versionInformation -
identifierName - name of the profile identifier this version indicator belongs to
ownerName - name of the model element that the profile identifier belongs to
Returns:
Throws:
MalformedProfileIdentifierException

getVersionInfos

public List<VersionRange> getVersionInfos()

toString

public String toString()
Overrides:
toString in class Object

contains

public boolean contains(ProfileVersionIndicator other,
                        StringBuffer sb)
Parameters:
other -
sb - the comma separated list of version ranges from the other indicator that are not contained in this indicator will be added to this buffer (unless the buffer is null)
Returns:


Copyright © 2015. All rights reserved.