Codota Logo
RegistryObjectType.getId
Code IndexAdd Codota to your IDE (free)

How to use
getId
method
in
org.dcm4chee.xds2.infoset.rim.RegistryObjectType

Best Java code snippets using org.dcm4chee.xds2.infoset.rim.RegistryObjectType.getId (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: org.dcm4che/dcm4chee-xds2-src-base

public static void addCodes(String id, RegistryObjectType ro, String type, List<Code> codes) {
  String objID = ro.getId();
  for (int i = 0, len = codes.size() ; i < len ; i++) {
    ro.getClassification().add(createCodeClassification(id, objID, type, codes.get(i)));
  }
}
public static ClassificationType createCodeClassification(String id, String classifiedObjectID, String type, Code code) {
origin: org.dcm4che/dcm4chee-xds2-src-base

private Author(String id, String classificationScheme, RegistryObjectType ro) {
  this.id = id;
  author = Util.createClassification(id, classificationScheme, ro.getId(), "");
  ro.getClassification().add(author);
}
 
origin: org.dcm4che/dcm4chee-xds2-src-base

public static void addCode(String id, RegistryObjectType ro, String type, Code code) {
  ro.getClassification().add(createCodeClassification(id, ro.getId(), type, code));
}
public static void addCodes(String id, RegistryObjectType ro, String type, List<Code> codes) {
origin: org.dcm4che/dcm4chee-xds2-ws

private static void checkExternalIdentifiers(RegistryObjectType roType,
    List<String> requiredExternalIdentifiers) throws XDSException {
  List<ExternalIdentifierType> eiList = roType.getExternalIdentifier();
  for (ExternalIdentifierType ei : eiList) {
    requiredExternalIdentifiers.remove(ei.getIdentificationScheme());
  }
  if (requiredExternalIdentifiers.size() > 0) 
    throw new XDSException(XDSException.XDS_ERR_REGISTRY_METADATA_ERROR, 
        "Missing attributes in '"+roType.getId()+"'! codes:"+requiredExternalIdentifiers, null);
}
origin: org.dcm4che/dcm4chee-xds2-ws

private static void checkCodes(RegistryObjectType roType, List<String> requiredCodes) throws XDSException {
  List<ClassificationType> clList = roType.getClassification();
  String objId = roType.getId();
  for (ClassificationType cl : clList) {
    if( objId.equals(cl.getClassifiedObject())) {
      if (requiredCodes.remove(cl.getClassificationScheme())) {
        if (cl.getName() == null || cl.getName().getLocalizedString() == null ||
            cl.getName().getLocalizedString().isEmpty()) {
          throw new XDSException(XDSException.XDS_ERR_REGISTRY_METADATA_ERROR, 
              "Missing code display name in code '"+cl.getNodeRepresentation()+
              "(code classification:"+cl.getClassificationScheme(), null);
        }
      }
    }
  }
  if (requiredCodes.size() > 0)
    throw new XDSException(XDSException.XDS_ERR_REGISTRY_METADATA_ERROR, 
        "Missing code values in '"+objId+"'! codes:"+requiredCodes, null);
}
 
org.dcm4chee.xds2.infoset.rimRegistryObjectTypegetId

Popular methods of RegistryObjectType

  • getSlot
  • getClassification
    Gets the value of the classification property. This accessor method returns a reference to the live
  • getExternalIdentifier
    Gets the value of the externalIdentifier property. This accessor method returns a reference to the l
  • setDescription
    Sets the value of the description property.
  • setName
    Sets the value of the name property.
  • <init>
  • getDescription
    Gets the value of the description property.
  • getLid
    Gets the value of the lid property.
  • getName
    Gets the value of the name property.
  • getObjectType
    Gets the value of the objectType property.
  • setHome
  • setId
  • setHome,
  • setId,
  • setLid,
  • setObjectType,
  • setStatus,
  • setVersionInfo

Popular in Java

  • Running tasks concurrently on multiple threads
  • compareTo (BigDecimal)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Set (java.util)
    A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now