public List<String> validate(Entity entity) throws APIException, ConnectionException, OidException {
    	Asset asset = v1Instance.getAsset(entity.getInstanceKey()) != null ? v1Instance.getAsset(entity.getInstanceKey()) : v1Instance.getAsset(entity.getID());
        return validate(asset);
    }
public List < String > validate ( Entity entity ) throws APIException , ConnectionException , OidException { Asset asset = v1Instance . getAsset ( entity . getInstanceKey ( ) ) != null ? v1Instance . getAsset ( entity . getInstanceKey ( ) ) : v1Instance . getAsset ( entity . getID ( ) ) ; return validate ( asset ) ; }
Validate single Entity.
@param entity - Entity to validate.
@return Collection of invalid attribute names.
@throws OidException
@throws ConnectionException
@throws APIException