Attribute that is used as unique Id. Id attribute should always be provided.

@return id attribute
965274
public Attribute getIdAttribute() {
    Attribute idAttr = getOwnIdAttribute();
    if (idAttr == null) {
      EntityType extend = getExtends();
      if (extend != null) {
        idAttr = extend.getIdAttribute();
      }
    }
    return idAttr;
  }
1212563
public String getId()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.entry(tc, "getId");
    
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.exit(tc, "getId", aoBrowserSession.toString());
    return aoBrowserSession.toString();
  }
828775
public String getInstanceId() {
        String rc = toString();
        int i = rc.indexOf("@");
        if (i > 0) {
            rc = rc.substring(i + 1);
        }
        return rc;
    }
448326
@Programmatic
    public String getId() {
        Object objectId = JDOHelper.getObjectId(this);
        if (objectId == null) {
            return "";
        }
        String objectIdStr = objectId.toString();
        final String id = objectIdStr.split("\\[OID\\]")[0];
        return id;
    }
518334
public int getEndingID()
    {
        int iEndingID = Integer.MAX_VALUE;   // (default)
        if (this.getProperty(ENDING_ID) != null)
        {
            try {
                iEndingID = Integer.parseInt(this.getProperty(ENDING_ID));
            } catch (NumberFormatException e) {
                iEndingID = Integer.MAX_VALUE;
            }
        }
        return iEndingID;
    }
334572
public int getEndingID()
    {
        if (this.getTable() != null)
            if (this.getTable().getDatabase() != null)
                return this.getTable().getDatabase().getEndingID();
        return super.getEndingID();   // Never (default)
    }
20571
protected function getUniqueId()
	{
		if(isset($this->attributes['id']))
			return 'yform_'.$this->attributes['id'];
		else
			return 'yform_'.sprintf('%x',crc32(serialize(array_keys($this->getElements()->toArray()))));
	}
152345
public String getId()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
    {
      SibTr.entry(tc, "getId");
      SibTr.exit(tc, "getId", new Long(getSequenceID()));
    }
    return ""+getSequenceID();
  }
575040
public EmbeddedId<Attributes<T>> getOrCreateEmbeddedId()
   {
      Node node = childNode.getOrCreate("embedded-id");
      EmbeddedId<Attributes<T>> embeddedId = new EmbeddedIdImpl<Attributes<T>>(this, "embedded-id", childNode, node);
      return embeddedId;
   }
810973
@Override
    public String getId() {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            Tr.entry(tc, "getId");
        if (id == null)
        {
            // Set id to the class name
            id = this.getClass().getName();
        }
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            Tr.exit(tc, "getId", new Object[] { id });
        return id;
    }
49478
static String autoId() {
    StringBuilder builder = new StringBuilder();
    int maxRandom = AUTO_ID_ALPHABET.length();
    for (int i = 0; i < AUTO_ID_LENGTH; i++) {
      builder.append(AUTO_ID_ALPHABET.charAt(RANDOM.nextInt(maxRandom)));
    }
    return builder.toString();
  }
1278200
public Long getId() {
        if (this.genericRecordAttributes.getId() != null) {
            return this.genericRecordAttributes.getId();
        } else if (this.typeARecordAttributes.getId() != null) {
            return this.typeARecordAttributes.getId();
        } else if (this.typeAAAARecordAttributes.getId() != null) {
            return this.typeAAAARecordAttributes.getId();
        } else if (this.typeNSRecordAttributes.getId() != null) {
            return this.typeNSRecordAttributes.getId();
        } else if (this.typeSOARecordAttributes.getId() != null) {
            return this.typeSOARecordAttributes.getId();
        } else if (this.typeMXRecordAttributes.getId() != null) {
            return this.typeMXRecordAttributes.getId();
        } else if (this.typePTRRecordAttributes.getId() != null) {
            return this.typePTRRecordAttributes.getId();
        } else if (this.typeTXTRecordAttributes.getId() != null) {
            return this.typeTXTRecordAttributes.getId();
        } else {
            return null;
        }
    }
45019
public String getId()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.entry(tc, "getId");
    String id = _sourceStream.getID();
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.exit(tc, "getId", id);
    return id; 
  }
1030510
public CmsUUID getId() {

        if (m_id != null) {
            return m_id;
        } else if (m_resource != null) {
            return m_resource.getStructureId();
        } else {
            // only in case of the default element view
            return CmsUUID.getNullUUID();
        }
    }
1132122
public String getId()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.entry(tc, "getId");
      
    String id = aiStream.getStreamId().toString();
    
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.exit(tc, "getId");
    return id;
  }
684318
public String id(){
        HttpServletRequest r = RequestContext.getHttpRequest();
        if(r == null){
            return null;
        }
        HttpSession session = r.getSession(false);
        return session == null ? null : session.getId();
    }
803898
@SuppressWarnings("unchecked")
	@Override
	public Class<ID> getIdType() {
		Field idField = MetadataParser.getIdField(getJavaType());
		return (Class<ID>) idField.getType();
	}