Database sequence properties helper method.
Return sequence <em>cycle</em> Booelan or <em>null</em>
if not set.

@param prop The {@link java.util.Properties} instance to use.
@return The found expression or <em>null</em>.
191645
public static Boolean getSeqCycleValue(Properties prop)
    {
        String result = prop.getProperty(PROP_SEQ_CYCLE, null);
        if(result != null)
        {
            return Boolean.valueOf(result);
        }
        else
        {
            return null;
        }
    }
326264
public Boolean getAsBoolean(String property) {
		if (super.has(property)) {
			return get(property).getAsBoolean();
		}
		return null;
	}
1033515
@SuppressWarnings("unchecked")
	private <T> T getPropertyAs(String propertyName, Class<T> propertyType) {
		final String sValue = properties == null ? null : properties.getProperty(propertyName);
		final T value;
		if (sValue == null) {
			value = null;
		} else if (propertyType.equals(String.class)) {
			value = propertyType.cast(sValue);
		} else if (propertyType.equals(Integer.class)) {
			value = propertyType.cast(Integer.valueOf(sValue));
		} else if (propertyType.equals(int.class)) {
			value = (T) Integer.valueOf(sValue);
		} else if (propertyType.equals(Long.class)) {
			value = propertyType.cast(Long.valueOf(sValue));
		} else if (propertyType.equals(long.class)) {
			value = (T) Long.valueOf(sValue);
		} else if (propertyType.equals(Boolean.class)) {
			value = propertyType.cast(Boolean.valueOf(sValue));
		} else if (propertyType.equals(boolean.class)) {
			value = (T) Boolean.valueOf(sValue);
		} else {
			value = null;
		}
		return value;
	}
98514
@Override
    public Object getDehydratedPropertyValue(JaversProperty property) {
        Edge edge = getEdge(property);

        if (edge != null) {
            return edge.getDehydratedPropertyValue();
        }

        Object propertyValue = getCdo().getPropertyValue(property);
        if (propertyValue == null) {
            return null;
        }

        //Collections & Maps are copied to a new immutable structure
        if (property.getType() instanceof EnumerableType) {
            EnumerableType enumerableType = property.getType();

            return enumerableType.map(propertyValue, it -> it);
        }

        return getCdo().getPropertyValue(property);
    }
295827
@NonNull
    public static SelectResult.As property(@NonNull String property) {
        if (property == null) {
            throw new IllegalArgumentException("property cannot be null.");
        }
        return new SelectResult.As(PropertyExpression.property(property));
    }
1117105
public Hashtable getPropertiesByPaths(String[] propPaths)
        throws InvalidProperty, RuntimeFault, RemoteException {
        Hashtable[] pht = PropertyCollectorUtil.retrieveProperties(
            new ManagedObject[]{this}, getMOR().getType(), propPaths);
        if (pht.length != 0) {
            return pht[0];
        }
        else {
            return null;
        }
    }
574380
public int numValues(String property) {
		int count = 0;
		if (has()) {
			TResult result = queryForValues(property);
			try {
				count = result.getCount();
			} finally {
				result.close();
			}
		}
		return count;
	}
946029
public static long getLong(java.util.Properties properties,
                               String prop, long defaultVal) {
        String propVal = properties.getProperty(prop);
        return  (propVal != null)
            ? Long.parseLong(propVal)
            : defaultVal;
    }
510806
public Object get(String propName) {
        if (propName.equals("uniqueId")) {
            return getUniqueId();
        }
        if (propName.equals("uniqueName")) {
            return getUniqueName();
        }
        if (propName.equals("externalId")) {
            return getExternalId();
        }
        if (propName.equals("externalName")) {
            return getExternalName();
        }
        if (propName.equals("repositoryId")) {
            return getRepositoryId();
        }
        return null;
    }
152555
public Integer getAsInteger(String property) {
		if (super.has(property)) {
			return get(property).getAsInteger();
		}
		return null;
	}
891492
@SuppressWarnings("unchecked")
    public static <T> T getPropValue(final Object entity, final String propName) {
        return getPropValue(entity, propName, false);
    }
467374
public static Long getSeqCacheValue(Properties prop)
    {
        String result = prop.getProperty(PROP_SEQ_CACHE, null);
        if(result != null)
        {
            return new Long(Long.parseLong(result));
        }
        else
        {
            return null;
        }
    }
462511
def get_property(self, prop):
        
        prop = prop.split('.')
        root = self
        for p in prop:
            if p in root:
                root = root[p]
            else:
                return None
        return root
310982
public String getFirstPropertyValue(String property) {
        Iterator<String> it = getValues(property).iterator();
        return it.hasNext() ? it.next() : null;
    }
768226
public Object getProperty(Object object, String property) {
        return getProperty(theClass, object, property, false, false);
    }
190161
public function get($prop)
    {
        if (!isset($this->properties[$prop])) {
            return null;
        }

        return $this->properties[$prop];
    }
623771
public static String getProperty(String key) {
        if (!isInited()) {
            init();
        }
        Property p = props.get(key);
        return p == null ? null : p.getValue();
    }