public class XFTPseudonymManager extends Object
Modifier and Type | Method and Description |
---|---|
static void |
AddNewPseudonymManager(String primary)
Adds a new type to the collection of pseudonyms.
|
static void |
AddNewPseudonymManager(String primary,
String pseudonym)
Adds a new type with the given pseudonym.
|
void |
addPseudonym(String pseudonym)
If this type doesn't already exist as a pseudonym of the parent type,
then it is added to the collection of pseudonyms for the parent type.
|
static void |
AddPseudonym(String name,
String alias)
Adds new pseudonym
|
static void |
clean() |
static ArrayList |
GetExtensionElements(String s)
Gets the GenericWrapperElements for the pseudonym.
|
static ArrayList |
GetExtensionItems(String s)
Gets collection of pseudonym names for the given type.
|
ArrayList |
getExtentions()
Gets the collection of extension names for this parent type.
|
String |
getName() |
ArrayList |
getPseudonymNames()
Gets the collection of pseudoynm names for this parent type.
|
ArrayList |
getPseudonyms()
ArrayList of XFTPseudonymManagers
|
static ArrayList |
GetPseudonyms(String s)
Gets pseudonyms for the given type.
|
static boolean |
HasPseudonyms(String s)
if this type has any pseudonyms.
|
static boolean |
IsAnAlias(String primary,
String alias)
if alias is a pseudonym for the primary type.
|
static void |
OutputPseudonyms()
Outputs the list of pseudonyms to a file called 'pseudonyms.txt'.
|
void |
setName(String string) |
void |
setPseudonyms(ArrayList list)
ArrayList of XFTPseudonymManagers
|
public static void clean()
public static void AddNewPseudonymManager(String primary)
primary
- public static void AddNewPseudonymManager(String primary, String pseudonym)
primary
- pseudonym
- public void addPseudonym(String pseudonym)
pseudonym
- public ArrayList getPseudonymNames()
public ArrayList getExtentions()
public String getName()
public ArrayList getPseudonyms()
public void setName(String string)
string
- public void setPseudonyms(ArrayList list)
list
- public static boolean HasPseudonyms(String s)
s
- public static ArrayList GetPseudonyms(String s)
s
- public static boolean IsAnAlias(String primary, String alias)
primary
- alias
- public static ArrayList GetExtensionItems(String s)
s
- public static ArrayList GetExtensionElements(String s) throws XFTInitException
s
- XFTInitException
public static void OutputPseudonyms()
Copyright © 2015 Neuroinformatics Research Group. All rights reserved.