com.imsweb.staging.tnm.TnmSchemaLookup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of staging-client-java Show documentation
Show all versions of staging-client-java Show documentation
A cancer staging client library
/*
* Copyright (C) 2015 Information Management Services, Inc.
*/
package com.imsweb.staging.tnm;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import com.imsweb.staging.SchemaLookup;
public class TnmSchemaLookup extends SchemaLookup {
private static final Set _ALLOWED_KEYS = Collections.unmodifiableSet(new HashSet<>(Arrays.asList(TnmStagingData.PRIMARY_SITE_KEY,
TnmStagingData.HISTOLOGY_KEY, TnmStagingData.SSF25_KEY, TnmStagingData.SEX_KEY)));
/**
* Constructor
* @param site primary site
* @param histology histology
*/
public TnmSchemaLookup(String site, String histology) {
super(site, histology);
}
@Override
public Set getAllowedKeys() {
return _ALLOWED_KEYS;
}
}