com.soebes.subversion.sapm
Class Aliases

java.lang.Object
  extended by com.soebes.subversion.sapm.Aliases

public class Aliases
extends Object

This is a convenience class for the parser.

Author:
Karl Heinz Marbaise

Field Summary
private  ArrayList<Alias> aliasesList
           
 
Constructor Summary
Aliases()
           
 
Method Summary
 void add(Alias alias)
          Add an alias to the list of aliases.
 Alias getAlias(String aliasName)
          Get the Alias instance for the given alias name.
 ArrayList<Alias> getAliasesList()
           
 boolean hasAlias(String aliasName)
          Check if the given alias exists in the list of aliases or not.
 void setAliasesList(ArrayList<Alias> aliasesList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

aliasesList

private ArrayList<Alias> aliasesList
Constructor Detail

Aliases

public Aliases()
Method Detail

add

public void add(Alias alias)
Add an alias to the list of aliases.

Parameters:
alias - The alias which will be added to the list.

hasAlias

public boolean hasAlias(String aliasName)
Check if the given alias exists in the list of aliases or not.

Parameters:
aliasName - The alias name which will be checked for.
Returns:
true if the alias has been found false otherwise.

setAliasesList

public void setAliasesList(ArrayList<Alias> aliasesList)

getAliasesList

public ArrayList<Alias> getAliasesList()

getAlias

public Alias getAlias(String aliasName)
Get the Alias instance for the given alias name.

Parameters:
aliasName - The name of the alias for which will be searched.
Returns:
The instance of the Alias or null if not found.


Copyright © 2010-2011 SoftwareEntwicklung Beratung Schulung. All Rights Reserved.